首页
随机页面
分类
查看“Django/docs/2.2.x/ref/contrib/postgres/index”的源代码
来自菜鸟教程
Django/docs/2.2.x/ref/contrib/postgres/index / ←
django.contrib.postgres — Django 文档
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
<div id="module-django.contrib.postgres" class="section"> <span id="django-contrib-postgres"></span> = <code>django.contrib.postgres</code> = PostgreSQL has a number of features which are not shared by the other databases Django supports. This optional module contains model fields and form fields for a number of PostgreSQL specific data types. <div class="admonition note"> 注解 Django is, and will continue to be, a database-agnostic web framework. We would encourage those writing reusable applications for the Django community to write database-agnostic code where practical. However, we recognize that real world projects written using Django need not be database-agnostic. In fact, once a project reaches a given size changing the underlying data store is already a significant challenge and is likely to require changing the code base in some ways to handle differences between the data stores. Django provides support for a number of data types which will only work with PostgreSQL. There is no fundamental reason why (for example) a <code>contrib.mysql</code> module does not exist, except that PostgreSQL has the richest feature set of the supported databases so its users have the most to gain. </div> <div class="toctree-wrapper compound"> * [[../aggregates|PostgreSQL specific aggregation functions]] ** [[../aggregates#general-purpose-aggregation-functions|General-purpose aggregation functions]] ** [[../aggregates#aggregate-functions-for-statistics|Aggregate functions for statistics]] ** [[../aggregates#usage-examples|Usage examples]] * [[../fields|PostgreSQL specific model fields]] ** [[../fields#indexing-these-fields|Indexing these fields]] ** [[../fields#arrayfield|<code>ArrayField</code>]] ** [[../fields#citext-fields|<code>CIText</code> fields]] ** [[../fields#hstorefield|<code>HStoreField</code>]] ** [[../fields#jsonfield|<code>JSONField</code>]] ** [[../fields#range-fields|Range Fields]] * [[../forms|PostgreSQL specific form fields and widgets]] ** [[../forms#fields|字段]] ** [[../forms#widgets|小部件]] * [[../functions|PostgreSQL specific database functions]] ** [[../functions#randomuuid|<code>RandomUUID</code>]] ** [[../functions#transactionnow|<code>TransactionNow</code>]] * [[../indexes|PostgreSQL specific model indexes]] ** [[../indexes#brinindex|<code>BrinIndex</code>]] ** [[../indexes#btreeindex|<code>BTreeIndex</code>]] ** [[../indexes#ginindex|<code>GinIndex</code>]] ** [[../indexes#gistindex|<code>GistIndex</code>]] ** [[../indexes#hashindex|<code>HashIndex</code>]] ** [[../indexes#spgistindex|<code>SpGistIndex</code>]] * [[../lookups|PostgreSQL specific lookups]] ** [[../lookups#trigram-similarity|Trigram similarity]] ** [[../lookups#unaccent|<code>Unaccent</code>]] * [[../operations|Database migration operations]] ** [[../operations#creating-extension-using-migrations|Creating extension using migrations]] ** [[../operations#createextension|<code>CreateExtension</code>]] ** [[../operations#btreeginextension|<code>BtreeGinExtension</code>]] ** [[../operations#btreegistextension|<code>BtreeGistExtension</code>]] ** [[../operations#citextextension|<code>CITextExtension</code>]] ** [[../operations#cryptoextension|<code>CryptoExtension</code>]] ** [[../operations#hstoreextension|<code>HStoreExtension</code>]] ** [[../operations#trigramextension|<code>TrigramExtension</code>]] ** [[../operations#unaccentextension|<code>UnaccentExtension</code>]] * [[../search|Full text search]] ** [[../search#the-search-lookup|The <code>search</code> lookup]] ** [[../search#searchvector|<code>SearchVector</code>]] ** [[../search#searchquery|<code>SearchQuery</code>]] ** [[../search#searchrank|<code>SearchRank</code>]] ** [[../search#changing-the-search-configuration|Changing the search configuration]] ** [[../search#weighting-queries|Weighting queries]] ** [[../search#performance|Performance]] ** [[../search#trigram-similarity|Trigram similarity]] * [[../validators|Validators]] ** [[../validators#keysvalidator|<code>KeysValidator</code>]] ** [[../validators#range-validators|Range validators]] </div> </div> [[Category:Django 2.2.x 中文文档]]
返回至“
django.contrib.postgres — Django 文档
”。