加载器与关系 Model Loader Loader Expression Many-to-One Relationship Self Referencing Other Relationships Advanced Usage of Loaders 加载器与关系 Loaders are used to load database row...
Disable Default Transaction Transaction Nested Transactions Control the transaction manually A Specific Example SavePoint, RollbackTo Disable Default Transaction GORM perfo...
The DAL: A quick tour The DAL: A quick tour web2py defines the following classes that make up the DAL: The DAL object represents a database connection. For example: db = D...
Advanced Usage Error Handling Transactions A Specific Example SQL Builder Run Raw SQL sql.Row & sql.Rows Scan sql.Rows In Iteration Generic database interface sql.DB Connec...
Development Architecture Write Plugins Register a new callback Delete an existing callback Replace an existing callback Register callback orders Pre-Defined Callbacks De...
Database Connecting to a database MySQL PostgreSQL Sqlite3 SQL Server Write Dialect for unsupported databases Migration Auto Migration Has Table Create Table Drop table ...
Auto Migration Migrator Interface CurrentDatabase Tables Columns Constraints Indexes Constraints Other Migration Tools Auto Migration Automatically migrate your schema, ...