Hallo,
I have a customize statement in my model to set some query.
cursor.execute(""
SELECT count(*) FROM ingestQueue
WHERE timeOfEntry > (subdate( (SELECT
max(timeOfLaststatusupdate)
FROM ingestQueue WHERE status =
'done'), interval 1 hour))
AND status = 'done';
""")
We can get the result of this statement in "cursor.fetchall()'. Is
this result a integer because of "SELECT count(*)"?
Or I have to iterate the "cursor.fetchall()"!
Cheers,
Nader
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---