The built-in SQLObject default keyword only works
within the SQLObject framework. I.e., SQLObject inserts
the value before performing and INSERT. For
consistancy, it would be best if this was handled by
the database.
The patch provides adds a defaultSQL keyword to col
defines, which will add the DEFAULT %s value into a
CREATE TABLE statement. Also, it will allow all columns
declared with the defaultSQL to pass cleanly through
the SQLObject interface without being explicitly defined.
Support for DEFAULT SQL designation
Logged In: YES
user_id=4799
Please add documentation and tests.
Logged In: YES
user_id=4799
Originator: NO
Applied in the revision 2367.