stalker.db.mapperΒΆ

this is the default mapper to map the default models to the default tables

You can use your also use your own mappers. See the docs.

Functions

backref(name, **kwargs) Create a back reference with explicit arguments, which are the same arguments one can send to relationship().
mapper(class_, *args, **params[, local_table]) Return a new Mapper object.
relationship(argument, **kwargs[, secondary]) Provide a relationship of a primary Mapper to a secondary Mapper.
setup() setups the mapping
synonym(name[, map_column, descriptor, ...]) Set up name as a synonym to another mapped property.

Previous topic

stalker.db.auth.logout

Next topic

stalker.db.tables

This Page