[Django] #33997: Possible to change default select statemant for objects.all()

6 views
Skip to first unread message

Django

unread,
Sep 8, 2022, 10:41:56 AM9/8/22
to django-...@googlegroups.com
#33997: Possible to change default select statemant for objects.all()
-------------------------------------+-------------------------------------
Reporter: Stefan | Owner: nobody
Schlipfinger |
Type: | Status: new
Uncategorized |
Component: Database | Version: 2.1
layer (models, ORM) | Keywords: versioned tables
Severity: Normal | default sql query
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Hi there,

first of all thank´s for this amazing project.
I am working with mariadb versioned-tables to see my changes on the
database.

See following link:
https://mariadb.com/kb/en/system-versioned-tables/

I want to get all objects using the following select query:
SELECT [TABLE] FROM t FOR SYSTEM_TIME ALL;

--
Ticket URL: <https://code.djangoproject.com/ticket/33997>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 8, 2022, 10:44:05 AM9/8/22
to django-...@googlegroups.com
#33997: Possible to change default select statemant for objects.all()
-------------------------------------+-------------------------------------
Reporter: Stefan Schlipfinger | Owner: nobody
Type: Uncategorized | Status: new
Component: Database layer | Version: 2.1
(models, ORM) |
Severity: Normal | Resolution:
Keywords: versioned tables | Triage Stage:
default sql query | Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Stefan Schlipfinger):

* Attachment "create_version-table-database.sql" added.

This is the sql create for the versionable table

Django

unread,
Sep 8, 2022, 1:37:41 PM9/8/22
to django-...@googlegroups.com
#33997: Possible to change default select statemant for objects.all()
-------------------------------------+-------------------------------------
Reporter: Stefan Schlipfinger | Owner: nobody
Type: New feature | Status: closed

Component: Database layer | Version: 2.1
(models, ORM) |
Severity: Normal | Resolution: needsinfo

Keywords: versioned tables | Triage Stage:
default sql query | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* type: Uncategorized => New feature
* resolution: => needsinfo


Comment:

I'm not sure what kind of a new feature you're proposing. Please provide
more details and take into account that new ORM features should be widely
support (by most of databases). Also,
[https://docs.djangoproject.com/en/stable/internals/contributing/bugs-and-
features/#requesting-features follow the guidelines with regards to
requesting features].

--
Ticket URL: <https://code.djangoproject.com/ticket/33997#comment:1>

Reply all
Reply to author
Forward
0 new messages