Ok this is hackish but... db.__class__.case = property(lambda self: self['`case`'])
Wouldn't putting this in the model after the table definition work well enough? Not sure if you don't need to define a setter too. --
Ok this is hackish but... db.__class__.case = property(lambda self: self['`case`'])
Wouldn't putting this in the model after the table definition work well enough? Not sure if you don't need to define a setter too. --