What I meant was a way of getting that information from the
database.
It is possible to add a method to a db class similar this this one which
retrieves table columns.
Right now not all backends support this sort of data type,
so we'll have to come up with a database-agnostic way of returning
this info.
All SQL standard compliant databases support enum types using CHECK
constraints like
CREATE TABLE test (myenum VARCHAR(5) CHECK ( myenum IN
('one','two','three')))
or using separate table with foreign key relation.
Andrus.
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users