peewee Documentation
Release 3.5.0asynchronous i/o with Postgresql or MySQL. Reasons I prefer gevent: No need for special-purpose “loop-aware” re-implementations of everything. Third-party libraries using asyncio usually have to re-implement for row in db.batch_commit(row_data, 100): User.create(**row) Note SQLite users should be aware of some caveats when using bulk inserts. Specifically, your SQLite3 version must be 3.7.11.0 or newer Parameters: Returns: Return type: Parameters: Parameters: source (Source) – Make the manager aware of a new source. If the source has already been added, the call is a no-op. get(source[, any_depth=False])0 码力 | 347 页 | 380.80 KB | 1 年前3
peewee Documentation Release 3.4.0asynchronous i/o with Postgresql or MySQL. Reasons I prefer gevent: No need for special-purpose “loop-aware” re-implementations of everything. Third-party libraries using asyncio usually have to re-implement for row in db.batch_commit(row_data, 100): User.create(**row) Note SQLite users should be aware of some caveats when using bulk inserts. Specifically, your SQLite3 version must be 3.7.11.0 or newer needing this, but it’s here just in case. Changes in 3.0 This document describes changes to be aware of when switching from 2.x to 3.x. Backwards-incompatible I tried to keep changes backwards-compatible0 码力 | 349 页 | 382.34 KB | 1 年前3
peewee Documentation
Release 3.5.0asynchronous i/o with Postgresql or MySQL. Reasons I prefer gevent: • No need for special-purpose “loop-aware” re-implementations of everything. Third-party libraries using asyncio usually have to re-implement create(**row) 1.7. Querying 61 peewee Documentation, Release 3.5.0 Note: SQLite users should be aware of some caveats when using bulk inserts. Specifically, your SQLite3 version must be 3.7.11.0 or newer each level of indentation refers to a new scope): Parameters source (Source) – Make the manager aware of a new source. If the source has already been added, the call is a no-op. get(source[, any_depth=False])0 码力 | 282 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.3.0asynchronous i/o with Postgresql or MySQL. Reasons I prefer gevent: • No need for special-purpose “loop-aware” re-implementations of everything. Third-party libraries using asyncio usually have to re-implement rows). for row in db.batch_commit(row_data, 100): User.create(**row) Note: SQLite users should be aware of some caveats when using bulk inserts. Specifically, your SQLite3 version must be 3.7.11.0 or newer needing this, but it’s here just in case. 1.13 Changes in 3.0 This document describes changes to be aware of when switching from 2.x to 3.x. 1.13. Changes in 3.0 111 peewee Documentation, Release 3.3.00 码力 | 280 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.4.0asynchronous i/o with Postgresql or MySQL. Reasons I prefer gevent: • No need for special-purpose “loop-aware” re-implementations of everything. Third-party libraries using asyncio usually have to re-implement rows). for row in db.batch_commit(row_data, 100): User.create(**row) Note: SQLite users should be aware of some caveats when using bulk inserts. Specifically, your SQLite3 version must be 3.7.11.0 or newer peewee Documentation, Release 3.4.0 1.13 Changes in 3.0 This document describes changes to be aware of when switching from 2.x to 3.x. 1.13.1 Backwards-incompatible I tried to keep changes backwards-compatible0 码力 | 284 页 | 1.03 MB | 1 年前3
peewee Documentation Release 3.6.0asynchronous I/O with Postgresql or MySQL. Reasons I prefer gevent: No need for special-purpose “loop-aware” re-implementations of everything. Third-party libraries using asyncio usually have to re-implement for row in db.batch_commit(row_data, 100): User.create(**row) Note SQLite users should be aware of some caveats when using bulk inserts. Specifically, your SQLite3 version must be 3.7.11.0 or newer scheme (where each level of indentation refers to a new scope): source (Source) – Make the manager aware of a new source. If the source has already been added, the call is a no-op. get(source[, any_depth=False])0 码力 | 377 页 | 399.12 KB | 1 年前3
peewee Documentation
Release 3.6.0asynchronous I/O with Postgresql or MySQL. Reasons I prefer gevent: • No need for special-purpose “loop-aware” re-implementations of everything. Third-party libraries using asyncio usually have to re-implement rows). for row in db.batch_commit(row_data, 100): User.create(**row) Note: SQLite users should be aware of some caveats when using bulk inserts. Specifically, your SQLite3 version must be 3.7.11.0 or newer each level of indentation refers to a new scope): Parameters source (Source) – Make the manager aware of a new source. If the source has already been added, the call is a no-op. get(source[, any_depth=False])0 码力 | 302 页 | 1.02 MB | 1 年前3
peewee Documentation Release 3.0.0100): MyModel.insert_many(data_source[idx:idx+100]).execute() Note SQLite users should be aware of some caveats when using bulk inserts. Specifically, your SQLite3 version must be 3.7.11.0 or newer needing this, but it’s here just in case. Changes in 3.0 This document describes changes to be aware of when switching from 2.x to 3.x. Backwards-incompatible I tried to keep changes backwards-compatible scheme (where each level of indentation refers to a new scope): source (Source) – Make the manager aware of a new source. If the source has already been added, the call is a no-op. get(source[, any_depth=False])0 码力 | 319 页 | 361.50 KB | 1 年前3
peewee Documentation Release 3.1.0100): MyModel.insert_many(data_source[idx:idx+100]).execute() Note SQLite users should be aware of some caveats when using bulk inserts. Specifically, your SQLite3 version must be 3.7.11.0 or newer needing this, but it’s here just in case. Changes in 3.0 This document describes changes to be aware of when switching from 2.x to 3.x. Backwards-incompatible I tried to keep changes backwards-compatible scheme (where each level of indentation refers to a new scope): source (Source) – Make the manager aware of a new source. If the source has already been added, the call is a no-op. get(source[, any_depth=False])0 码力 | 332 页 | 370.77 KB | 1 年前3
peewee Documentation Release 2.10.2100): Model.insert_many(data_source[idx:idx+100]).execute() Note SQLite users should be aware of some caveats when using bulk inserts. Specifically, your SQLite3 version must be 3.7.11.0 or newer Returns a VirtualModel for working with a closure table. Warning There are two caveats you should be aware of when using the transitive_closure extension. First, it requires that your source model have an any special handling. The SqliteQueueDatabase accepts some special parameters which you should be aware of, though. If you are using gevent [http://gevent.org], you must specify use_gevent=True when instantiating0 码力 | 275 页 | 276.96 KB | 1 年前3
共 11 条
- 1
- 2













