検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 46 for indexes (0.026 sec.)
Model index reference — Django 4.0.6 ドキュメント 14066
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... x reference ¶ Index classes ease creating database indexes. They can be added using the Meta.indexes option. ... includes the index options . Referencing built-in indexes Indexes are defined in django.db.models.indexes , ... use from django.db import models and refer to the indexes as models.<IndexClass> . Index options ¶ class Ind ... l argument *expressions allows creating functional indexes on expressions and database functions. 例: Index ( ...
https://man.plustar.jp/django/ref/models/indexes.html - [similar]
PostgreSQL specific model indexes — Django 4.0.6 ドキュメント 12998
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... « previous | up | next » PostgreSQL specific model indexes ¶ The following are PostgreSQL specific indexes av ... ailable from the django.contrib.postgres.indexes module. BloomIndex ¶ class BloomIndex ( * expressi ... pressions was added in order to support functional indexes. BrinIndex ¶ class BrinIndex ( * expressions , aut ... pressions was added in order to support functional indexes. BTreeIndex ¶ class BTreeIndex ( * expressions , f ...
https://man.plustar.jp/django/ref/contrib/postgres/indexes.html - [similar]
Tablespaces — Django 4.0.6 ドキュメント 11976
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... code you cannot control. Declaring tablespaces for indexes ¶ You can pass the db_tablespace option to an Inde ... tablespace to use for the index. For single field indexes, you can pass the db_tablespace option to a Field ... x_length = 30 , db_index = True , db_tablespace = "indexes" ) data = models . CharField ( max_length = 255 , ... . ManyToManyField ( to = "self" , db_tablespace = "indexes" ) class Meta : db_tablespace = "tables" indexes = ...
https://man.plustar.jp/django/topics/db/tablespaces.html - [similar]
Django 3.2 release notes — Django 4.0.6 ドキュメント 9092
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... s for details on migrating such tables. Functional indexes ¶ The new *expressions positional argument of Inde ... x() enables creating functional indexes on expressions and database functions. For example ... () weight = models . IntegerField () class Meta : indexes = [ Index ( Lower ( 'first_name' ), Upper ( 'last_ ... Value ( 5 )), name = 'calc_idx' , ), ] Functional indexes are added to models using the Meta.indexes option. ...
https://man.plustar.jp/django/releases/3.2.html - [similar]
SchemaEditor — Django 4.0.6 ドキュメント 8589
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ovided model, along with any unique constraints or indexes it requires. delete_model() ¶ BaseDatabaseSchemaEd ... the database along with any unique constraints or indexes it has. add_index() ¶ BaseDatabaseSchemaEditor. ad ... el's index_together value; this will add or remove indexes from the model's table until they match the new va ... s table to represent the field. This will also add indexes or a unique constraint if the field has db_index=T ...
https://man.plustar.jp/django/ref/schema-editor.html - [similar]
Model Meta options — Django 4.0.6 ドキュメント 8253
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ) for more about the old and new saving algorithm. indexes ¶ Options. indexes ¶ A list of indexes that you wa ... dels . CharField ( max_length = 100 ) class Meta : indexes = [ models . Index ( fields = [ 'last_name' , 'fir ... index_together ¶ Options. index_together ¶ Use the indexes option instead. The newer indexes option provides ... ired_db_features required_db_vendor select_on_save indexes unique_together index_together constraints verbose ...
https://man.plustar.jp/django/ref/models/options.html - [similar]
GeoDjango Model API — Django 4.0.6 ドキュメント 7963
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ent from the db_index field option because spatial indexes are created in a different manner than regular dat ... abase indexes. Specifically, spatial indexes are typically creat ... ng a variant of the R-Tree, while regular database indexes typically use B-Trees. Geometry Field Options ¶ Th ...
https://man.plustar.jp/django/ref/contrib/gis/model-api.html - [similar]
データベースアクセスの最適化 — Django 4.0.6 ドキュメント 7795
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... のテクニックを使う ¶ 以下のようなものが上げられます: Indexes . This is a number one priority, after you have de ... termined from profiling what indexes should be added. Use Meta.indexes or Field.db_inde ... x to add these from Django. Consider adding indexes to fields that you frequently query using filter() ... , exclude() , order_by() , etc. as indexes may help to speed up lookups. Note that determinin ...
https://man.plustar.jp/django/topics/db/optimization.html - [similar]
PostgreSQL specific model fields — Django 4.0.6 ドキュメント 7750
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... icularly helpful when querying complex data types. Indexes such as GinIndex and GistIndex are better suited, ... r array fields when writing raw SQL. However these indexes and those used in slices use 0-based indexing to b ... ng raw SQL. However these slices and those used in indexes use 0-based indexing to be consistent with Python. ... Multidimensional arrays with indexes and slices PostgreSQL has some rather esoteric beh ...
https://man.plustar.jp/django/ref/contrib/postgres/fields.html - [similar]
Django 2.2 リリースノート — Django 4.0.6 ドキュメント 7750
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... classes allow creating B-Tree , hash , and SP-GiST indexes in the database. BrinIndex now has the autosummari ... ses ( Index.opclasses ). Added support for partial indexes ( Index.condition ). Added the NullIf and Reverse ... tabase backends must implement support for partial indexes or set DatabaseFeatures.supports_partial_indexes t ... zed by identifier_converter() . SQL generation for indexes is moved from Index to SchemaEditor and these Sche ...
https://man.plustar.jp/django/releases/2.2.html - [similar]
PREV 1 2 3 4 5 NEXT