sqlobject.constraints module

Constraints

exception sqlobject.constraints.BadValue(desc, obj, col, value, *args)[source]

Bases: ValueError

class sqlobject.constraints.InList(l)[source]

Bases: object

class sqlobject.constraints.MaxLength(length)[source]

Bases: object

sqlobject.constraints.isBool(obj, col, value)[source]
sqlobject.constraints.isFloat(obj, col, value)[source]
sqlobject.constraints.isInt(obj, col, value)[source]
sqlobject.constraints.isString(obj, col, value)[source]
sqlobject.constraints.notNull(obj, col, value)[source]