Hello, I'm using django 1.4 with oracle backend
In my models.py I have:
class ProteinTherapeutics(models.Model):
#...
class Meta:
db_table = 'mnowotka\".\"protein_therapeutics'
managed=False
And this:
ProteinTherapeutics.objects.exists()
produces this SQL:
SELECT *
FROM
(SELECT ROWNUM AS "_RN",
"_SUB".*
FROM
(SELECT (1) AS "A"
FROM "MNOWOTKA"."PROTEIN_THERAPEFB7C") "_SUB"
WHERE ROWNUM <= 1)
WHERE "_RN" > 0 [1.99ms]
Can you help me, please?
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-developers/-/kqFVlwNWEzgJ.
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-developers?hl=en.