Home | Trees | Indices | Help |
|
---|
|
object --+ | property --+ | datatype --+ | wrapper --+ | expression
Insert an arbitrary SQL expression into the SQL query.
The expression string may contain placeholders $relation, $table (which are the same thing) and $attribute_name which will be replaced prior to execution by appropriate strings. This is especially usefull when using inheritance.
The has_default and default parameters may be used to supply a default value which the expression dbproperty will contain it the dbobject has not been SELECTed from the database. Has_default must be set to True to use this feature. Default defaults to None ;-)
|
|||
| __init__(self, inside_datatype, expression, has_default=False, default=None) | ||
|
__get__(self,
dbobj,
owner="I don't know about this") See the Python Language Reference, chapter 3.3.2.2 for details on how this works. |
||
|
__init_dbclass__(self,
dbclass,
attribute_name) This methods gets called by dbobject's metaclass. |
||
| __copy__(self) | ||
Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
|
|
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0alpha3 on Wed Feb 20 18:17:26 2008 | http://epydoc.sourceforge.net |