orm2.exceptions.PrimaryKeyNotKnown:
This exception is raised when the select after insert mechanism
is invoked on an object of which the primary key is not known and
cannot be determined through the backend.
orm2.exceptions.NoPrimaryKey:
This error is raised if a class does not have a primary key
(__primary_key__ == None) but some function requires a primary
key.
property:
property(fget=None, fset=None, fdel=None, doc=None) -> property attribute
fget is a function to be used for getting an attribute value, and likewise
fset is a function for setting, and fdel a function for del'ing, an
attribute.
orm2.containers.sqldict:
This datatype represents a relationship between relations in which
the child relation proveies a number of values for a parent
relation indexed by the parent's primary key and a unique key for
each of the entries.
orm2.containers.sqltuple:
This datatype represents a relationship between relations in
which the child relation provides a number of values for a parent
relation indexed by the parent's primary key.
orm2.datatypes.common_serial:
The common_serial datatype is an primary key integer column
whoes value is supplied by the backend using its default
mechanism.
orm2.relationships.many2many:
The many to many relationship manages rows from two tables which
are linked by means of a third table, the link_relation.
orm2.relationships.one2many:
A one2many relationship is probably the most common relationship
between two tables in a RDBMS.
orm2.datatypes.varchar:
dbclass property for string values with a fixed
(maximum-)length.
orm2.util.datatypes.pickle:
This datatype uses Python's pickle module to serialize (nearly)
arbitrary Python objects into a string representation that is then
stored in a regular database column.
orm2.datatypes.Unicode:
dbclass property for TEXT, VARCHAR, CHAR() etc.
orm2.adapters.gadfly.datatypes.Unicode:
The gadfly adapter defines its own Unicode type, because gadfly
can't work with binary strings encoded as literals.
orm2.util.datatypes.PDomain:
Just like orm2.datatypes.Unicode, except that it doesn't use the
backend's charset to convert the Unicode string, but Python's idna
(Internationalized Domain Names in Applications) codec which takes
care of lowercasing and punicode representation and so on.
orm2.sql.direct_literal:
This returns a %s as SQL code and the content you pass to the
constructor to be quoted by the cursor's implementation rathern
than by orm2.sql.
orm2.ui.xist.widgets.utext:
This widget will enforce that the object handled is a unicode
string (rather than attempting to cast it into one like text
does).
orm2.ui.xist.widgets.password:
The password widgets consits of two <input type=password> elements
that are wrapped in <div class=password-input-container>s so you
can position them.
orm2.ui.xist.result_table.result_table_widget:
A result_table_widget is a user interface element that belongs
to a result_table, as a pager or a widget that lets you choose the
number of items displayed at any time.
orm2.validators.range_validator:
A generic validator for value ranges (fortunately Python doesn't
care, it can be used for numerals, dates, strings...)