peewee Documentation
Release 2.0.2Database also uses a subclass of QueryCompiler to generate valid SQL. The QueryCompiler maps the internal data structures used by peewee to SQL statements. For a high-level overview of working with transactions “send” method is invoked. connect(receiver[, sender=None[, name=None]]) Add the receiver to the internal list of receivers, which will be called whenever the signal is sent. Parameters • receiver (callable)0 码力 | 65 页 | 315.33 KB | 1 年前3
peewee Documentation
Release 3.5.0database-driver uses to encapsulate a database connection. cursor([commit=None]) commit – For internal use. Return a cursor object on the current connection. If a connection is not open, one will be when multiple sources are used in a single query. add(source) Add a source to the AliasManager’s internal registry at the current scope. The alias will be automatically generated using the following scheme class will trigger the receiver callback. name (string) – a short alias Add the receiver to the internal list of receivers, which will be called whenever the signal is sent. from playhouse.signals import0 码力 | 347 页 | 380.80 KB | 1 年前3
peewee Documentation Release 3.4.0database-driver uses to encapsulate a database connection. cursor([commit=None]) commit – For internal use. Return a cursor object on the current connection. If a connection is not open, one will be when multiple sources are used in a single query. add(source) Add a source to the AliasManager’s internal registry at the current scope. The alias will be automatically generated using the following scheme class will trigger the receiver callback. name (string) – a short alias Add the receiver to the internal list of receivers, which will be called whenever the signal is sent. from playhouse.signals import0 码力 | 349 页 | 382.34 KB | 1 年前3
peewee Documentation
Release 3.5.0database-driver uses to encapsulate a database connection. cursor([commit=None]) Parameters commit – For internal use. Return a cursor object on the current connection. If a connection is not open, one will be when multiple sources are used in a single query. add(source) Add a source to the AliasManager’s internal registry at the current scope. The alias will be automatically generated using the following scheme class will trigger the receiver callback. • name (string) – a short alias Add the receiver to the internal list of receivers, which will be called whenever the signal is sent. from playhouse.signals import0 码力 | 282 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.4.0database-driver uses to encapsulate a database connection. cursor([commit=None]) Parameters commit – For internal use. Return a cursor object on the current connection. If a connection is not open, one will be when multiple sources are used in a single query. add(source) Add a source to the AliasManager’s internal registry at the current scope. The alias will be automatically generated using the following scheme class will trigger the receiver callback. • name (string) – a short alias Add the receiver to the internal list of receivers, which will be called whenever the signal is sent. 244 Chapter 1. Contents:0 码力 | 284 页 | 1.03 MB | 1 年前3
peewee Documentation Release 3.6.0database-driver uses to encapsulate a database connection. cursor([commit=None]) commit – For internal use. Return a cursor object on the current connection. If a connection is not open, one will be when multiple sources are used in a single query. add(source) Add a source to the AliasManager’s internal registry at the current scope. The alias will be automatically generated using the following scheme class will trigger the receiver callback. name (string) – a short alias Add the receiver to the internal list of receivers, which will be called whenever the signal is sent. from playhouse.signals import0 码力 | 377 页 | 399.12 KB | 1 年前3
peewee Documentation
Release 3.6.0database-driver uses to encapsulate a database connection. cursor([commit=None]) Parameters commit – For internal use. Return a cursor object on the current connection. If a connection is not open, one will be Documentation 171 peewee Documentation, Release 3.6.0 add(source) Add a source to the AliasManager’s internal registry at the current scope. The alias will be automatically generated using the following scheme class will trigger the receiver callback. • name (string) – a short alias Add the receiver to the internal list of receivers, which will be called whenever the signal is sent. from playhouse.signals import0 码力 | 302 页 | 1.02 MB | 1 年前3
peewee Documentation Release 2.10.2“send” method is invoked. connect(receiver[, sender=None[, name=None]]) Add the receiver to the internal list of receivers, which will be called whenever the signal is sent. receiver (callable) – a callable – Whether this method should return a clone. This is generally true when the method mutates the internal state of the node. Example: # Add a `cast()` method to all nodes using the '::' operator. PostgresqlDatabase changes. In optimistic locking, on the other hand, we do not acquire any lock and instead rely on an internal version column in the row we’re modifying. At read time, we see what version the row is currently0 码力 | 275 页 | 276.96 KB | 1 年前3
peewee Documentation
Release 2.10.2“send” method is invoked. connect(receiver[, sender=None[, name=None]]) Add the receiver to the internal list of receivers, which will be called whenever the signal is sent. Parameters • receiver (callable) – Whether this method should return a clone. This is generally true when the method mutates the internal state of the node. Example: # Add a `cast()` method to all nodes using the '::' operator. PostgresqlDatabase changes. In optimistic locking, on the other hand, we do not acquire any lock and instead rely on an internal version column in the row we’re modifying. At read time, we see what version the row is currently0 码力 | 221 页 | 844.06 KB | 1 年前3
peewee Documentation Release 3.0.0when multiple sources are used in a single query. add(source) Add a source to the AliasManager’s internal registry at the current scope. The alias will be automatically generated using the following scheme class will trigger the receiver callback. name (string) – a short alias Add the receiver to the internal list of receivers, which will be called whenever the signal is sent. from playhouse.signals import changes. In optimistic locking, on the other hand, we do not acquire any lock and instead rely on an internal version column in the row we’re modifying. At read time, we see what version the row is currently0 码力 | 319 页 | 361.50 KB | 1 年前3
共 14 条
- 1
- 2













