class documentation

class IdentityOptions(object):

Known subclasses: sqlalchemy.sql.schema.Identity, sqlalchemy.sql.schema.Sequence

View In Hierarchy

Defines options for a named database sequence or an identity column.

New in version 1.3.18.

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
def __init__(self, start=None, increment=None, minvalue=None, maxvalue=None, nominvalue=None, nomaxvalue=None, cycle=None, cache=None, order=None):

Construct a .IdentityOptions object.

See the .Sequence documentation for a complete description of the parameters.

Parameters
startthe starting index of the sequence.
incrementthe increment value of the sequence.
minvaluethe minimum value of the sequence.
maxvaluethe maximum value of the sequence.
nominvalueno minimum value of the sequence.
nomaxvalueno maximum value of the sequence.
cycleallows the sequence to wrap around when the maxvalue or minvalue has been reached.
cacheoptional integer value; number of future values in the sequence which are calculated in advance.
orderoptional boolean value; if True, renders the ORDER keyword.
cache =

Undocumented

cycle =

Undocumented

increment =

Undocumented

maxvalue =

Undocumented

minvalue =

Undocumented

nomaxvalue =

Undocumented

nominvalue =

Undocumented

order =

Undocumented

start =

Undocumented