peewee Documentation Release 3.6.0db', pragmas={ 'journal_mode': 'wal', 'cache_size': -32 * 1000}) # Postgresql database on remote host. db = PostgresqlDatabase('my_app', user='postgres', host='10.1.0.3', options: Option Meaning Example -h show help -e database backend -e mysql -H host to connect to -H remote.db.server -p port to connect on -p 9001 -u database user -u postgres -P database password -P secret python -m pwiz -e mysql -u root -P secret mysql_db_name # Introspect a Postgresql database on a remote server. python -m pwiz -e postgres -u postgres -H 10.1.0.3 pg_db_name Full example: $ sqlite3 example0 码力 | 377 页 | 399.12 KB | 1 年前3
peewee Documentation
Release 3.6.0SqliteDatabase('app.db', pragmas={ 'journal_mode': 'wal', 'cache_size': -32 * 1000}) # Postgresql database on remote host. db = PostgresqlDatabase('my_app', user='postgres', host='10.1.0.3', password='secret') Deferred options: Option Meaning Example -h show help -e database backend -e mysql -H host to connect to -H remote.db.server -p port to connect on -p 9001 -u database user -u postgres -P database password -P secret python -m pwiz -e mysql -u root -P secret mysql_db_name # Introspect a Postgresql database on a remote server. python -m pwiz -e postgres -u postgres -H 10.1.0.3 pg_db_name Full example: $ sqlite3 example0 码力 | 302 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 2.0.20.0 Option Meaning Example -h show help -e database backend -e mysql -H host to connect to -H remote.db.server -p port to connect on -p 9001 -u database user -u postgres -P database password -P secret0 码力 | 65 页 | 315.33 KB | 1 年前3
peewee Documentation Release 1.0.0select()] Option Meaning Example -h show help -e database backend -e mysql -H host to connect to -H remote.db.server -p port to connect on -p 9001 -u database user -u postgres -P database password -P secret0 码力 | 101 页 | 163.20 KB | 1 年前3
peewee Documentation
Release 1.0.0select()] Option Meaning Example -h show help -e database backend -e mysql -H host to connect to -H remote.db.server -p port to connect on -p 9001 -u database user -u postgres -P database password -P secret0 码力 | 71 页 | 405.29 KB | 1 年前3
peewee Documentation Release 2.10.2select()] Option Meaning Example -h show help -e database backend -e mysql -H host to connect to -H remote.db.server -p port to connect on -p 9001 -u database user -u postgres -P database password -P secret0 码力 | 275 页 | 276.96 KB | 1 年前3
peewee Documentation
Release 2.10.2select()] Option Meaning Example -h show help -e database backend -e mysql -H host to connect to -H remote.db.server -p port to connect on -p 9001 -u database user -u postgres -P database password -P secret0 码力 | 221 页 | 844.06 KB | 1 年前3
peewee Documentation Release 3.0.0select()] Option Meaning Example -h show help -e database backend -e mysql -H host to connect to -H remote.db.server -p port to connect on -p 9001 -u database user -u postgres -P database password -P secret0 码力 | 319 页 | 361.50 KB | 1 年前3
peewee Documentation
Release 3.5.0select()] Option Meaning Example -h show help -e database backend -e mysql -H host to connect to -H remote.db.server -p port to connect on -p 9001 -u database user -u postgres -P database password -P secret0 码力 | 347 页 | 380.80 KB | 1 年前3
peewee Documentation Release 3.4.0select()] Option Meaning Example -h show help -e database backend -e mysql -H host to connect to -H remote.db.server -p port to connect on -p 9001 -u database user -u postgres -P database password -P secret0 码力 | 349 页 | 382.34 KB | 1 年前3
共 14 条
- 1
- 2













