#17340: [nonrel] Database feature to disabled INSERT/UPDATE distinction
----------------------------------------------+--------------------
Reporter: jonash | Owner: nobody
Type: Uncategorized | Status: new
Component: Database layer (models, ORM) | Version: SVN
Severity: Normal | Keywords: nonrel
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 0 | UI/UX: 0
----------------------------------------------+--------------------
(This patch is part of the changes made to the inofficial fork "Django-
nonrel" which adds basic support for non-relational databases.)
The distinction between `INSERT` and `UPDATE` is an SQL-ism and has no
equivalent on most non-relational databases. This patch adds an
`distinguishes_insert_from_update` database flag. If set `False`, the ORM
doesn't even try to execute an `UPDATE` equivalent when `.save()` is
called.
Note that this is different from and does not affect calls to
`.update(foo=bar)`.
--
Ticket URL: <https://code.djangoproject.com/ticket/17340>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.