| 13 | | Represents the definition of a 'field' on an entity. In other words, this |
| 14 | | class represents a column on the table where the entity is stored. This |
| 15 | | object is only used with the 'with_fields' syntax for defining all fields |
| 16 | | for an entity at the same time. The 'has_field' syntax does not require |
| 17 | | the manual creation of this object. |
| | 13 | Represents the definition of a 'field' on an entity. |
| | 14 | |
| | 15 | This class represents a column on the table where the entity is stored. |
| | 16 | This object is only used with the ``with_fields`` syntax for defining all |
| | 17 | fields for an entity at the same time. The ``has_field`` syntax does not |
| | 18 | require the manual creation of this object. |
| 44 | | Statement object for specifying a single field on an entity. The first |
| 45 | | argument is the name of the field, the second is its type, and following |
| 46 | | this any number of keyword arguments can be specified for additional |
| 47 | | behavior. The keyword arguments are passed on to the SQLAlchemy 'Column' |
| 48 | | object. Please refer to the SQLAlchemy 'Column' object's documentation for |
| 49 | | further detail about which keyword arguments are supported. |
| | 45 | Statement object for specifying a single field on an entity. |
| 51 | | Here is a quick example of how to use 'has_field'. |
| | 47 | The first argument is the name of the field, the second is its type, and |
| | 48 | following this any number of keyword arguments can be specified for |
| | 49 | additional behavior. The keyword arguments are passed on to the SQLAlchemy |
| | 50 | ``Column`` object. Please refer to the SQLAlchemy ``Column`` object's |
| | 51 | documentation for further detail about which keyword arguments are |
| | 52 | supported. |
| | 53 | |
| | 54 | Here is a quick example of how to use ``has_field``. |
| | 55 | |
| | 56 | :: |
| 66 | | Statement object for specifying all fields on an entity at once. Each |
| 67 | | keyword argument to this statement represents one field, which should be |
| 68 | | a Field object. The first argument to a Field object is its type, and |
| 69 | | following this any number of keyword arguments can be specified for |
| 70 | | additional behavior. The keyword arguments are passed on to the SQLAlchemy |
| 71 | | 'Column' object. Please refer to the SQLAlchemy 'Column' object's |
| 72 | | documentation for further detail about which keyword arguments are |
| | 71 | Statement object for specifying all fields on an entity at once. |
| | 72 | |
| | 73 | Each keyword argument to this statement represents one field, which should |
| | 74 | be a Field object. The first argument to a Field object is its type, and |
| | 75 | following this any number of keyword arguments can be specified for |
| | 76 | additional behavior. The keyword arguments are passed on to the SQLAlchemy |
| | 77 | ``Column`` object. Please refer to the SQLAlchemy ``Column`` object's |
| | 78 | documentation for further detail about which keyword arguments are |