~jbaker/storm/nose_plugin

« back to all changes in this revision

Viewing changes to storm/expr.py

  • Committer: Gustavo Niemeyer
  • Date: 2006-05-20 23:03:44 UTC
  • Revision ID: gustavo@niemeyer.net-20060520230344-64a484082a93c286
- Added support for retrieving values automatically set by the
  database on inserts.
- Implemented support for deleting properties.
- Fixed support for subclassing. Can't have the same property
  instance in both the superclass and the subclass, since tables
  are different.

Show diffs side-by-side

added added

removed removed

Lines of Context:
369
369
 
370
370
class Column(ComparableExpr):
371
371
 
372
 
    def __init__(self, name, table=Undef):
 
372
    def __init__(self, name=Undef, table=Undef):
373
373
        self.name = name
374
374
        self.table = table
375
375