summaryrefslogtreecommitdiff
path: root/django/db/models/sql/constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/db/models/sql/constants.py')
-rw-r--r--django/db/models/sql/constants.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/django/db/models/sql/constants.py b/django/db/models/sql/constants.py
index fdfb2ea891..709405b0df 100644
--- a/django/db/models/sql/constants.py
+++ b/django/db/models/sql/constants.py
@@ -11,8 +11,10 @@ GET_ITERATOR_CHUNK_SIZE = 100
# How many results to expect from a cursor.execute call
MULTI = "multi"
SINGLE = "single"
-CURSOR = "cursor"
NO_RESULTS = "no results"
+# Rather than returning results, returns:
+CURSOR = "cursor"
+ROW_COUNT = "row count"
ORDER_DIR = {
"ASC": ("ASC", "DESC"),