Re: join keys redux
Kevin Rosenberg <kevin-HJRc7zDS/[email protected]>
| Newsgroups | gmane.lisp.clsql.devel |
|---|---|
| Message-ID | <[email protected]> |
Cyrus Harmon wrote: > Ok, so upon further experimentation, it looks as if :home-key and > :foreign-key need to be atoms. The LW def-view-class docs indicate that > these can in fact be lists, so I'm assuming that, as far as API > compatibility with CommonSQL goes, this is a bug in CLSQL. I'm open to > spending some time trying to fix this, if that is deemed the right > thing to do. The part of the LW spec that I really want, at the moment, > is the ability to not just specify a slot-name, but also a value: Hi Cyrus, I haven't taken the time to confirm your findings. But, yes -- any backward incompatibility with CommonSQL is a bug. As for specifying a value, I don't recall what in the CommonSQL API. But, it seems that could a CLSQL-specific extension. Though in general, I consider joined tables to rely on identity in a slot. But, if you are selecting a join based on a value, that is done with a SELECT statement and is not part of a table definition. But, perhaps I'm misunderstanding what you mean about specifying a value in a table definition. Kevin