티스토리 수익 글 보기
django.contrib.postgres¶
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.
Informacja
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 contrib.mysql module does not exist, except that PostgreSQL has the
richest feature set of the supported databases so its users have the most
to gain.
- PostgreSQL specific aggregation functions
- PostgreSQL specific database constraints
- PostgreSQL specific query expressions
- PostgreSQL specific model fields
- PostgreSQL specific form fields and widgets
- PostgreSQL specific database functions
- PostgreSQL specific model indexes
- PostgreSQL specific lookups
- Database migration operations
- Full text search
- Validators
Dodatkowe informacje
Support Django!
Zawartość
Uzyskiwanie pomocy
- FAQ
- Wypróbuj FAQ – ma odpowiedzi na wiele powszechnych pytań.
- Indeks, Indeks modułów, or Spis treści
- Przydatne, gdy szukasz konkretnej informacji
- Django Discord Server
- Join the Django Discord Community.
- Official Django Forum
- Join the community on the Django Forum.
- Ticket tracker
- Zgłoś błędy w Django lub w dokumentacji w naszym systemie zgłoszeń.
Pobierz:
Offline (Django 4.2):
HTML |
PDF |
ePub
Dostarczone przez Read the Docs.