mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +00:00
Refs #29444 -- Added support for fetching a returned non-integer insert values on Oracle.
This is currently not actively used, since the ORM will ask the SQL compiler to only return auto fields.
This commit is contained in:
parent
34a88b21da
commit
bc91f27a86
8 changed files with 49 additions and 9 deletions
|
@ -5,6 +5,10 @@ from django.contrib.contenttypes.models import ContentType
|
|||
from django.db import models
|
||||
|
||||
|
||||
class NonIntegerAutoField(models.Model):
|
||||
creation_datetime = models.DateTimeField(primary_key=True)
|
||||
|
||||
|
||||
class Square(models.Model):
|
||||
root = models.IntegerField()
|
||||
square = models.PositiveIntegerField()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue