Re: update-instance-from-records

Igor Plekhov <[email protected]>
Newsgroups gmane.lisp.clsql.devel
Message-ID <20050810013016.GB28725@tcp>
On Tue, 09 Aug, 2005 at 00:22:54 -0600, Kevin Rosenberg wrote:
> 
> Though the backtrace does show a NIL database object. I suspect
> somewhere the database object isn't being stored or passed between
> functions. UPDATE-INSTANCE-FROM-RECORDS is designed to update an
> object that was created by an SELECT operation, not an instance
> created from MAKE-INSTANCE.

I try to supply the :view-database parameter to make-instance and
update-instance-from-records then updates objects created with
make-instance too.

May be it is worth to change the :initform value to the
view-database slot in the standard-db-object's definition
from nil to *default-database* ?


-- 
Registered Linux User #124759
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.