Skip to content
zzolo edited this page Aug 17, 2011 · 10 revisions

Models (database objects, schemas, mapping) are sadly in flux. But the flux is towards using SQLAlchemy.

Old Modeling

Schema

Schemas are actual SQL table definitions found in sql/models.sql. (There are some updates in sql/migrations/)

Object Modeling

Querying

  • Querying is done with web.py's database methods. For instance:

New Modeling

Clone this wiki locally