peewee Documentation Release 3.6.0since most Python distributions are compiled with SQLite support. You can test by running import sqlite3 in the Python console. If you wish to use another database, there are many DB-API 2.0-compatible drivers operations, particularly if you use SQLite. apsw [https://github.com/rogerbinns/apsw]: an optional 3rd-party SQLite binding offering greater performance and comprehensive support for SQLite’s C APIs. Use method, which returns a model instance: grandma = Person.create(name='Grandma', birthday=date(1935, 3, 1)) herb = Person.create(name='Herb', birthday=date(1950, 5, 5)) To update a row, modify the model0 码力 | 377 页 | 399.12 KB | 1 年前3
peewee Documentation
Release 3.6.0leifer Jul 27, 2018 Contents 1 Contents: 3 1.1 Installing and Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2 Quickstart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285 2 Note 289 3 Indices and tables 291 i ii peewee Documentation, Release 3.6.0 Peewee is a simple and small ORM Build the C extension and place shared libraries alongside other modules. python setup.py build_ext -i 3 peewee Documentation, Release 3.6.0 1.1.2 Running tests You can test your installation by running0 码力 | 302 页 | 1.02 MB | 1 年前3
peewee Documentation Release 3.4.0since most Python distributions are compiled with SQLite support. You can test by running import sqlite3 in the Python console. If you wish to use another database, there are many DB-API 2.0-compatible drivers operations, particularly if you use SQLite. apsw [https://github.com/rogerbinns/apsw]: an optional 3rd-party SQLite binding offering greater performance and much, much saner semantics than the standard method, which returns a model instance: grandma = Person.create(name='Grandma', birthday=date(1935, 3, 1), is_relative=True) herb = Person.create(name='Herb', birthday=date(1950, 5, 5), is_relative=False)0 码力 | 349 页 | 382.34 KB | 1 年前3
peewee Documentation
Release 3.4.0leifer Jul 27, 2018 Contents 1 Contents: 3 1.1 Installing and Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2 Quickstart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263 2 Note 271 3 Indices and tables 273 i ii peewee Documentation, Release 3.4.0 Attention: Peewee 3.0 has been released Build the C extension and place shared libraries alongside other modules. python setup.py build_ext -i 3 peewee Documentation, Release 3.4.0 1.1.2 Running tests You can test your installation by running0 码力 | 284 页 | 1.03 MB | 1 年前3
peewee Documentation
Release 3.3.0leifer Jul 27, 2018 Contents 1 Contents: 3 1.1 Installing and Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2 Quickstart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259 2 Note 267 3 Indices and tables 269 i ii peewee Documentation, Release 3.3.0 Attention: Peewee 3.0 has been released Build the C extension and place shared libraries alongside other modules. python setup.py build_ext -i 3 peewee Documentation, Release 3.3.0 1.1.2 Running tests You can test your installation by running0 码力 | 280 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.5.0since most Python distributions are compiled with SQLite support. You can test by running import sqlite3 in the Python console. If you wish to use another database, there are many DB-API 2.0-compatible drivers operations, particularly if you use SQLite. apsw [https://github.com/rogerbinns/apsw]: an optional 3rd-party SQLite binding offering greater performance and much, much saner semantics than the standard method, which returns a model instance: grandma = Person.create(name='Grandma', birthday=date(1935, 3, 1), is_relative=True) herb = Person.create(name='Herb', birthday=date(1950, 5, 5), is_relative=False)0 码力 | 347 页 | 380.80 KB | 1 年前3
peewee Documentation Release 3.0.0since most Python distributions are compiled with SQLite support. You can test by running import sqlite3 in the Python console. If you wish to use another database, there are many DB-API 2.0-compatible drivers operations, particularly if you use SQLite. apsw [https://github.com/rogerbinns/apsw]: an optional 3rd-party SQLite binding offering greater performance and much, much saner semantics than the standard method, which returns a model instance: grandma = Person.create(name='Grandma', birthday=date(1935, 3, 1), is_relative=True) herb = Person.create(name='Herb', birthday=date(1950, 5, 5), is_relative=False)0 码力 | 319 页 | 361.50 KB | 1 年前3
peewee Documentation
Release 3.5.0leifer Jul 27, 2018 Contents 1 Contents: 3 1.1 Installing and Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2 Quickstart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265 2 Note 269 3 Indices and tables 271 i ii peewee Documentation, Release 3.5.0 Attention: Peewee 3.0 has been released Build the C extension and place shared libraries alongside other modules. python setup.py build_ext -i 3 peewee Documentation, Release 3.5.0 1.1.2 Running tests You can test your installation by running0 码力 | 282 页 | 1.02 MB | 1 年前3
peewee Documentation Release 3.1.0since most Python distributions are compiled with SQLite support. You can test by running import sqlite3 in the Python console. If you wish to use another database, there are many DB-API 2.0-compatible drivers operations, particularly if you use SQLite. apsw [https://github.com/rogerbinns/apsw]: an optional 3rd-party SQLite binding offering greater performance and much, much saner semantics than the standard method, which returns a model instance: grandma = Person.create(name='Grandma', birthday=date(1935, 3, 1), is_relative=True) herb = Person.create(name='Herb', birthday=date(1950, 5, 5), is_relative=False)0 码力 | 332 页 | 370.77 KB | 1 年前3
peewee Documentation Release 2.10.2since most Python distributions are compiled with SQLite support. You can test by running import sqlite3 in the Python console. If you wish to use another database, there are many DB-API 2.0-compatible drivers operations, particularly if you use SQLite. apsw [https://github.com/rogerbinns/apsw]: an optional 3rd-party SQLite binding offering greater performance and much, much saner semantics than the standard method, which returns a model instance: >>> grandma = Person.create(name='Grandma', birthday=date(1935, 3, 1), is_relative=True) >>> herb = Person.create(name='Herb', birthday=date(1950, 5, 5), is_relative=False)0 码力 | 275 页 | 276.96 KB | 1 年前3
共 16 条
- 1
- 2













