peewee Documentation Release 2.10.2model tables Model options and table metadata Indexes and Constraints Non-integer Primary Keys, Composite Keys and other Tricks Self-referential foreign keys Circular foreign key dependencies Querying unique = False – boolean indicating whether to create a unique index on this column. See also adding composite indexes. verbose_name = None – string representing the “user-friendly” name of this field help_text either a CompositeKey or to indicate that the model has no primary key. Composite primary keys are discussed in more detail here: Composite primary keys. To indicate that a model should not have a primary key0 码力 | 275 页 | 276.96 KB | 1 年前3
peewee Documentation
Release 2.10.2unique = False – boolean indicating whether to create a unique index on this column. See also adding composite indexes. • verbose_name = None – string representing the “user-friendly” name of this field • either a CompositeKey or to indicate that the model has no primary key. Composite primary keys are discussed in more detail here: Composite primary keys. To indicate that a model should not have a primary key table definition when the schema is created. For instance, suppose you have a people table with a composite primary key of two columns, the person’s first and last name. You wish to have another table relate0 码力 | 221 页 | 844.06 KB | 1 年前3
peewee Documentation
Release 3.5.0model tables Model options and table metadata Indexes and Constraints Non-integer Primary Keys, Composite Keys and other Tricks Self-referential foreign keys Circular foreign key dependencies Querying an index on this column unique = False – create a unique index on this column. See also adding composite indexes. column_name = None – explicitly specify the column name in the database. default = None either a CompositeKey or to indicate that the model has no primary key. Composite primary keys are discussed in more detail here: Composite primary keys. To indicate that a model should not have a primary key0 码力 | 347 页 | 380.80 KB | 1 年前3
peewee Documentation Release 3.4.0model tables Model options and table metadata Indexes and Constraints Non-integer Primary Keys, Composite Keys and other Tricks Self-referential foreign keys Circular foreign key dependencies Querying unique = False – boolean indicating whether to create a unique index on this column. See also adding composite indexes. column_name = None – string representing the underlying column to use if different, useful either a CompositeKey or to indicate that the model has no primary key. Composite primary keys are discussed in more detail here: Composite primary keys. To indicate that a model should not have a primary key0 码力 | 349 页 | 382.34 KB | 1 年前3
peewee Documentation Release 3.0.0model tables Model options and table metadata Indexes and Constraints Non-integer Primary Keys, Composite Keys and other Tricks Self-referential foreign keys Circular foreign key dependencies Querying unique = False – boolean indicating whether to create a unique index on this column. See also adding composite indexes. column_name = None – string representing the underlying column to use if different, useful either a CompositeKey or to indicate that the model has no primary key. Composite primary keys are discussed in more detail here: Composite primary keys. To indicate that a model should not have a primary key0 码力 | 319 页 | 361.50 KB | 1 年前3
peewee Documentation Release 3.6.0model tables Model options and table metadata Indexes and Constraints Non-integer Primary Keys, Composite Keys and other Tricks Self-referential foreign keys Circular foreign key dependencies Querying an index on this column unique = False – create a unique index on this column. See also adding composite indexes. column_name = None – explicitly specify the column name in the database. default = None either a CompositeKey or to indicate that the model has no primary key. Composite primary keys are discussed in more detail here: Composite primary keys. To indicate that a model should not have a primary key0 码力 | 377 页 | 399.12 KB | 1 年前3
peewee Documentation Release 3.1.0model tables Model options and table metadata Indexes and Constraints Non-integer Primary Keys, Composite Keys and other Tricks Self-referential foreign keys Circular foreign key dependencies Querying unique = False – boolean indicating whether to create a unique index on this column. See also adding composite indexes. column_name = None – string representing the underlying column to use if different, useful either a CompositeKey or to indicate that the model has no primary key. Composite primary keys are discussed in more detail here: Composite primary keys. To indicate that a model should not have a primary key0 码力 | 332 页 | 370.77 KB | 1 年前3
peewee Documentation
Release 3.5.0index on this column • unique = False – create a unique index on this column. See also adding composite indexes. • column_name = None – explicitly specify the column name in the database. • default either a CompositeKey or to indicate that the model has no primary key. Composite primary keys are discussed in more detail here: Composite primary keys. To indicate that a model should not have a primary key table definition when the schema is created. For instance, suppose you have a people table with a composite primary key of two columns, the person’s first and last name. You wish to have another table relate0 码力 | 282 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.3.0unique = False – boolean indicating whether to create a unique index on this column. See also adding composite indexes. • column_name = None – string representing the underlying column to use if different, either a CompositeKey or to indicate that the model has no primary key. Composite primary keys are discussed in more detail here: Composite primary keys. To indicate that a model should not have a primary key table definition when the schema is created. For instance, suppose you have a people table with a composite primary key of two columns, the person’s first and last name. You wish to have another table relate0 码力 | 280 页 | 1.02 MB | 1 年前3
peewee Documentation
Release 3.4.0unique = False – boolean indicating whether to create a unique index on this column. See also adding composite indexes. • column_name = None – string representing the underlying column to use if different, either a CompositeKey or to indicate that the model has no primary key. Composite primary keys are discussed in more detail here: Composite primary keys. To indicate that a model should not have a primary key table definition when the schema is created. For instance, suppose you have a people table with a composite primary key of two columns, the person’s first and last name. You wish to have another table relate0 码力 | 284 页 | 1.03 MB | 1 年前3
共 85 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













