Menu

#56 Support for DEFAULT SQL attribute

closed-accepted
nobody
None
5
2007-03-02
2006-03-15
Anonymous
No

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.

Discussion

  • Nobody/Anonymous

    Support for DEFAULT SQL designation

     
  • Oleg Broytman

    Oleg Broytman - 2006-03-21
    • status: open --> open-invalid
     
  • Oleg Broytman

    Oleg Broytman - 2006-03-21

    Logged In: YES
    user_id=4799

    Please add documentation and tests.

     
  • Oleg Broytman

    Oleg Broytman - 2007-03-02

    Logged In: YES
    user_id=4799
    Originator: NO

    Applied in the revision 2367.

     
  • Oleg Broytman

    Oleg Broytman - 2007-03-02
    • status: open-invalid --> closed-accepted
     

Log in to post a comment.