When using the clsql-postgresql backend I get an error when a sql
query is made since it tries to select a field called view-database:
SQL-DATABASE-DATA-ERROR: While accessing database #<POSTGRESQL-
DATABASE ..": Error #.(SB-SYS:INT-SAP #X0063D6D9) / column
blob.view_database does not exist has occurred.
It seems like it will use all the slots in the object to create the
field names, e.g.
(clsql:def-view-class blob () ((id :accessor blob-id :initarg :id)))
(describe (make-instance 'blob))
#<BLOB {1003DAFD31}>
is an instance of class #<CLSQL-SYS::STANDARD-DB-CLASS BLOB>.
The following slots have :INSTANCE allocation:
ID #<unbound slot>
VIEW-DATABASE NIL
I guess it should exclude the view-database slot in this process.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"weblocks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/weblocks?hl=en
-~----------~----~----~----~------~----~------~--~---