New in Django 2.0.
To help you understand and control the queries issued by your code, Django
provides a hook for ins...
AI君
1年前 (2019-03-28) 90℃
0喜欢
Django’s database layer provides various ways to help developers get the most
out of their databases. This docume...
AI君
1年前 (2019-03-28) 85℃
0喜欢
A common paradigm for optimizing performance in database systems is the use of
tablespaces to organize disk layout.
Wa...
AI君
1年前 (2019-03-28) 90℃
0喜欢
This topic guide describes Django’s support for interacting with
multiple databases. Most of the rest of Django&#...
AI君
1年前 (2019-03-28) 86℃
0喜欢
Django 提供多种方式控制数据库事务。
管理数据库事务¶
Django 默认的事务行为¶
Django 默认的事务行为是自动提交。除非事务正在执行,每个查询将会马上自动提交到数据库。 详见.
Django 自动使用事务或还...
AI君
1年前 (2019-03-28) 183℃
0喜欢
When the model query APIs don’t go far enough, you
can fall back to writing raw SQL. Django gives you two ways of...
AI君
1年前 (2019-03-28) 105℃
0喜欢
class Manager[source]¶
A Manager is the interface through which database query operations are
provided to Django mo...
AI君
1年前 (2019-03-28) 82℃
0喜欢
A common task for web applications is to search some data in the database with
user input. In a simple case, this could...
AI君
1年前 (2019-03-28) 105℃
0喜欢
:doc:`Django 数据库抽象 API ` 描述了使用 Django queries 来增删查改单个对象的方法。 然而,有时候你要获取的值需要根据一组对象聚合后才能得到。这个主题指南描述了如何使用 Django queries 来生...
AI君
1年前 (2019-03-28) 147℃
0喜欢
Once you’ve created your data models, Django
automatically gives you a database-abstraction API that lets you cre...
AI君
1年前 (2019-03-28) 87℃
0喜欢