Re: [patch] Updated Patch for fault-join-target-slot and update-objects-joins
Aleksandar Bakic <a_bakic-/[email protected]> Tue, 1 Nov 2005 02:05:30 -0800 (PST)
| Newsgroups | gmane.lisp.clsql.devel |
|---|---|
| Message-ID | <[email protected]> |
> What is it that you are trying to do? :target-slot is specifically for > many-to-many joins, and i can't see it making sense outside of them. it > would probably be trivial to simply return the sql-slot-value of the > :target-slot when it is not a join slot, but i can't see what value this > gains. > ... (pictureid :type integer :initarg :pictureid) (picture :db-kind :join :db-info (:join-class picture :home-key pictureid :foreign-key pictureid ;:target-slot contents :set nil)) ... If picture class has a key, pictureid, and the bytes, contents, then I only need contents to be in the above join slot. The documentation does not clearly say this is not what is meant by :target-slot. I can live without this use of :target-slot if necessary, although it remains confusing. Alex __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com