peewee Documentation Release 2.10.2
those used in the database is handled transparently, allowing you to use the following in your application: Strings (unicode or otherwise) Integers, floats, and Decimal numbers. Boolean values Dates, execute queries database = SqliteDatabase(DATABASE, threadlocals=True) When developing a web application, it’s common to open a connection when a request starts, and close it when the response is returned available, and if so, create a new User record. Looking at the join() view, we can see that our application attempts to create the User using Model.create(). We defined the User.username field with a unique0 码力 | 275 页 | 276.96 KB | 1 年前3peewee Documentation Release 2.10.2
those used in the database is handled transparently, allowing you to use the following in your application: • Strings (unicode or otherwise) • Integers, floats, and Decimal numbers. • Boolean values execute queries database = SqliteDatabase(DATABASE, threadlocals=True) When developing a web application, it’s common to open a connection when a request starts, and close it when the response is returned available, and if so, create a new User record. Looking at the join() view, we can see that our application attempts to create the User using Model. create(). We defined the User.username field with a unique0 码力 | 221 页 | 844.06 KB | 1 年前3peewee Documentation Release 3.5.0
those used in the database is handled transparently, allowing you to use the following in your application: Strings (unicode or otherwise) Integers, floats, and Decimal numbers. Boolean values Dates, times using. class BaseModel(Model): class Meta: database = database When developing a web application, it’s common to open a connection when a request starts, and close it when the response is returned available, and if so, create a new User record. Looking at the join() view, we can see that our application attempts to create the User using Model.create(). We defined the User.username field with a unique0 码力 | 347 页 | 380.80 KB | 1 年前3peewee Documentation Release 3.4.0
those used in the database is handled transparently, allowing you to use the following in your application: Strings (unicode or otherwise) Integers, floats, and Decimal numbers. Boolean values Dates, times the connection and # execute queries database = SqliteDatabase(DATABASE) When developing a web application, it’s common to open a connection when a request starts, and close it when the response is returned available, and if so, create a new User record. Looking at the join() view, we can see that our application attempts to create the User using Model.create(). We defined the User.username field with a unique0 码力 | 349 页 | 382.34 KB | 1 年前3peewee Documentation Release 3.5.0
those used in the database is handled transparently, allowing you to use the following in your application: • Strings (unicode or otherwise) • Integers, floats, and Decimal numbers. • Boolean values database 14 Chapter 1. Contents: peewee Documentation, Release 3.5.0 When developing a web application, it’s common to open a connection when a request starts, and close it when the response is returned available, and if so, create a new User record. Looking at the join() view, we can see that our application attempts to create the User using Model. create(). We defined the User.username field with a unique0 码力 | 282 页 | 1.02 MB | 1 年前3peewee Documentation Release 3.3.0
those used in the database is handled transparently, allowing you to use the following in your application: • Strings (unicode or otherwise) • Integers, floats, and Decimal numbers. • Boolean values the connection and # execute queries database = SqliteDatabase(DATABASE) When developing a web application, it’s common to open a connection when a request starts, and close it when the response is returned available, and if so, create a new User record. Looking at the join() view, we can see that our application attempts to create the User using Model. create(). We defined the User.username field with a unique0 码力 | 280 页 | 1.02 MB | 1 年前3peewee Documentation Release 3.4.0
those used in the database is handled transparently, allowing you to use the following in your application: • Strings (unicode or otherwise) • Integers, floats, and Decimal numbers. • Boolean values the connection and # execute queries database = SqliteDatabase(DATABASE) When developing a web application, it’s common to open a connection when a request starts, and close it when the response is returned available, and if so, create a new User record. Looking at the join() view, we can see that our application attempts to create the User using Model. create(). We defined the User.username field with a unique0 码力 | 284 页 | 1.03 MB | 1 年前3peewee Documentation Release 3.6.0
those used in the database is handled transparently, allowing you to use the following in your application: Strings (unicode or otherwise) Integers, floats, and Decimal numbers. Boolean values Dates, times using. class BaseModel(Model): class Meta: database = database When developing a web application, it’s common to open a connection when a request starts, and close it when the response is returned available, and if so, create a new User record. Looking at the join() view, we can see that our application attempts to create the User using Model.create(). We defined the User.username field with a unique0 码力 | 377 页 | 399.12 KB | 1 年前3peewee Documentation Release 3.1.0
those used in the database is handled transparently, allowing you to use the following in your application: Strings (unicode or otherwise) Integers, floats, and Decimal numbers. Boolean values Dates, times the connection and # execute queries database = SqliteDatabase(DATABASE) When developing a web application, it’s common to open a connection when a request starts, and close it when the response is returned available, and if so, create a new User record. Looking at the join() view, we can see that our application attempts to create the User using Model.create(). We defined the User.username field with a unique0 码力 | 332 页 | 370.77 KB | 1 年前3peewee Documentation Release 3.0.0
those used in the database is handled transparently, allowing you to use the following in your application: Strings (unicode or otherwise) Integers, floats, and Decimal numbers. Boolean values Dates, times the connection and # execute queries database = SqliteDatabase(DATABASE) When developing a web application, it’s common to open a connection when a request starts, and close it when the response is returned available, and if so, create a new User record. Looking at the join() view, we can see that our application attempts to create the User using Model.create(). We defined the User.username field with a unique0 码力 | 319 页 | 361.50 KB | 1 年前3
共 16 条
- 1
- 2