Results of 1 - 10 of about 30 for bulk (0.030 sec.)
- Related objects reference — Django 4.0.6 ドキュメント 14361
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
g.pizza_set and on pizza.toppings . add ( * objs , bulk = True , through_defaults = None ) ¶ 関係オブジェク ...
s the objects to already be saved. You can use the bulk=False argument to instead have the related manager ...
ip, however, will not call any save() methods (the bulk argument doesn't exist), but rather create the rel ...
ationships using QuerySet.bulk_create() . If you need to execute some custom logi ...
-
https://man.plustar.jp/django/ref/models/relations.html
- [similar]
- データベースアクセスの最適化 — Django 4.0.6 ドキュメント 13532
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
, set some values, and save them individual, use a bulk SQL UPDATE statement, via QuerySet.update() . Simi ...
larly, do bulk deletes where possible. Note, however, that these ...
base may help to improve ordering performance. Use bulk methods ¶ Use bulk methods to reduce the number of ...
SQL statements. Create in bulk ¶ When creating objects, where possible, use the b ...
-
https://man.plustar.jp/django/topics/db/optimization.html
- [similar]
- QuerySet API リファレンス — Django 4.0.6 ドキュメント 9162
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ists in the database, an IntegrityError is raised. bulk_create() ¶ bulk_create ( objs , batch_size = None ...
me order as provided: >>> objs = Entry . objects . bulk_create ([ ... Entry ( headline = 'This is a test' ...
tch_size )) if not batch : break Entry . objects . bulk_create ( batch , batch_size ) The batch_size param ...
primary key attributes on SQLite 3.35+ was added. bulk_update() ¶ bulk_update ( objs , fields , batch_siz ...
-
https://man.plustar.jp/django/ref/models/querysets.html
- [similar]
- Admin actions — Django 4.0.6 ドキュメント 8837
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
each of the selected items. For more background on bulk deletion, see the documentation on object deletion ...
ive in. A common use case for admin actions is the bulk updating of a model. Imagine a news application wi ...
e admin one article at a time, but if we wanted to bulk-publish a group of articles, it'd be tedious. So, ...
tions for a particular ModelAdmin ¶ If you want no bulk actions available for a given ModelAdmin , set Mod ...
-
https://man.plustar.jp/django/ref/contrib/admin/actions.html
- [similar]
- contenttypes フレームワーク — Django 4.0.6 ドキュメント 8090
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ag = 'Web development' ) >>> b . tags . add ( t3 , bulk = False ) >>> b . tags . create ( tag = 'Web frame ...
gedItem: Web development>]> The remove() call will bulk delete the specified model objects: >>> b . tags . ...
dItem: django>]> The clear() method can be used to bulk delete all related objects for an instance: >>> b ...
-
https://man.plustar.jp/django/ref/contrib/contenttypes.html
- [similar]
- Django 1.1 リリースノート — Django 4.0.6 ドキュメント 8090
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
on the list pages, and can be edited and saved in bulk. Admin "actions" ¶ You can now define admin action ...
at can perform some action to a group of models in bulk. Users will be able to select objects on the chang ...
e list page and then apply these bulk actions to all selected objects. Django ships with ...
-
https://man.plustar.jp/django/releases/1.1.html
- [similar]
- Django 1.9 リリースノート — Django 4.0.6 ドキュメント 8090
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ich migrations will be squashed. モデル ¶ QuerySet.bulk_create() now works on proxy models. Database confi ...
he add() method on a reverse foreign key now has a bulk parameter to allow executing one query regardless ...
new model instances using save() , create() , and bulk_create() . Request と Response ¶ Unless HttpRespon ...
the minimum Oracle version it officially supports. Bulk behavior of add() method of related managers ¶ To ...
-
https://man.plustar.jp/django/releases/1.9.html
- [similar]
- Django 1.7 release notes — Django 4.0.6 ドキュメント 7928
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
by ForeignKey and GenericForeignKey now accept the bulk keyword argument to control whether or not to perf ...
orm operations in bulk (i.e. using QuerySet.update() ). Defaults to True ...
_save signals aren't sent anymore. You can use the bulk=False keyword argument to revert to the previous b ...
for GenericForeignKey related managers now perform bulk delete. The Model.delete() method isn't called on ...
-
https://man.plustar.jp/django/releases/1.7.html
- [similar]
- 多対多 (many-to-many) 関係 — Django 4.0.6 ドキュメント 7928
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ve () >>> a2 . publications . add ( p1 , p2 , p3 ) Bulk delete some Publications - references to deleted p ...
() <QuerySet [<Publication: The Python Journal>]> Bulk delete some articles - references to deleted objec ...
-
https://man.plustar.jp/django/topics/db/examples/many_to_many.html
- [similar]
- Django 1.10 リリースノート — Django 4.0.6 ドキュメント 7846
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
kends can set DatabaseFeatures.can_return_ids_from_bulk_insert=True and implement DatabaseOperations.fetch ...
set primary keys on objects created using QuerySet.bulk_create() . Added keyword arguments to the as_sql() ...
umbers from 1 to 9223372036854775807 . QuerySet.in_bulk() may be called without any arguments to return al ...
d_objects() function is now a public API. QuerySet.bulk_create() sets the primary key on objects when usin ...
-
https://man.plustar.jp/django/releases/1.10.html
- [similar]