sqlobject.constraints module

Constraints

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

Bases: exceptions.ValueError

class sqlobject.constraints.InList(_l)[source]
class sqlobject.constraints.MaxLength(length)[source]
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]