update-view-from-class

Mészáros Levente <[email protected]> Tue, 22 Nov 2005 17:44:05 +0100 (CET)
Newsgroups gmane.lisp.clsql.devel
Message-ID <[email protected]>
Hello,

While doing the update-view-from-class stuff I have to compare a slot 
definition agains the corresponding (i.e. names match) attribute in the 
table to be able to decide whether the column has to be altered or not.

Unfortunately the function list-attribute-types (which queries the 
database columns) and the function database-generate-column-
definition (which looks at slot definition) speaks different language.

Is there an ongoing effort to unify the two? Am I missing something, 
another useful function here?

Note:
I could not find a class or structure that describes an SQL database 
column. I think this class would be a good candidate for the common 
language between the functional and OO style. Well, the OO slot-
definition is quite close.

So, I'm stuck, any ideas?

levy


______________________________________________________________________________
Hihetetlen! Sikerkönyvek 1 napos házhozszállítással! 3 könyv rendelése esetén összesen 20% kedvezmény!
http://www.bookline.hu/?affiliate=frenapkar982