Re: Fixes and questions
[email protected] Fri, 7 Nov 2003 12:11:54 +0100
| Newsgroups | gmane.lisp.uncommon-sql |
|---|---|
| Message-ID | <20031107111154.GD14870@www> |
On Fri, Nov 07, 2003 at 10:59:11AM +0000, Martin Simmons wrote: > >>>>> On 05 Nov 2003 17:20:43 +0800, Robert Marlow <[email protected]> said: > > Robert> Also, I like this idea of the object-relational mapping. However, is > Robert> there any provided way to extract relational data from a database and > Robert> place it into the object system? That'd be real handy... > > Forgive my ignorance of UncommonSQL, but in CommonSQL the object-relational > mapping does just that. After using DEF-VIEW-CLASS to define a Lisp class for > some table, calling SELECT will create an object for each row in table, > containing the data. Hmm, my initial understanding of the OP was that he was looking or a way to create a mapping between objects<->reldata for an existing relation. I was toying with some (postgresql-specific) code to create classes for database relations myself (but haven't had enogh time to inish it so far). Ralf Mattes > -- > Martin Simmons Email: [email protected] > Xanalys Ltd, Compass House, Vision Park TEL: +44 1223 257944 > Histon, Cambridge CB4 9AD, England. FAX: +44 1223 257812 > _______________________________________________ > usql-list mailing list > [email protected] > http://lists.onshored.com/mailman/listinfo/usql-list