Convenient access to an SQLObject or SQLAlchemy managed database.
|
|
|
|
|
get_engine(pkg=None)
Retrieve the engine based on the current configuration. |
source code
|
|
|
get_metadata(pkg=None)
Retrieve the metadata for the specified package. |
source code
|
|
|
bind_metadata()
Connect SQLAlchemy to the configured database(s). |
source code
|
|
|
|
|
mapper(*args,
**kwargs)
return a :func:`.mapper` function which associates this ScopedSession
with the Mapper. |
|
|
|
set_db_uri(dburi,
package=None)
Sets the database URI to use either globally or for a specific
package. |
source code
|
|
|
commit_all()
Commit the transactions in all registered hubs (for this thread). |
source code
|
|
|
rollback_all()
Rollback the transactions in all registered hubs (for this thread). |
source code
|
|
|
end_all()
End the transactions in all registered hubs (for this thread). |
source code
|
|
|
so_to_dict(sqlobj)
Convert SQLObject to a dictionary based on columns. |
source code
|
|
|
|
|
|