class IdentityOptions(object):
Known subclasses: sqlalchemy.sql.schema.Identity
, sqlalchemy.sql.schema.Sequence
Defines options for a named database sequence or an identity column.
See Also
.Sequence
Method | __init__ |
Construct a .IdentityOptions object. |
Instance Variable | cache |
Undocumented |
Instance Variable | cycle |
Undocumented |
Instance Variable | increment |
Undocumented |
Instance Variable | maxvalue |
Undocumented |
Instance Variable | minvalue |
Undocumented |
Instance Variable | nomaxvalue |
Undocumented |
Instance Variable | nominvalue |
Undocumented |
Instance Variable | order |
Undocumented |
Instance Variable | start |
Undocumented |
sqlalchemy.sql.schema.Identity
, sqlalchemy.sql.schema.Sequence
Construct a .IdentityOptions
object.
See the .Sequence
documentation for a complete description
of the parameters.
Parameters | |
start | the starting index of the sequence. |
increment | the increment value of the sequence. |
minvalue | the minimum value of the sequence. |
maxvalue | the maximum value of the sequence. |
nominvalue | no minimum value of the sequence. |
nomaxvalue | no maximum value of the sequence. |
cycle | allows the sequence to wrap around when the maxvalue or minvalue has been reached. |
cache | optional integer value; number of future values in the sequence which are calculated in advance. |
order | optional boolean value; if True, renders the ORDER keyword. |