Removed backend.dictfetchmany(), as it wasn't being used anywhere

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5969 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2007-08-20 01:14:03 +00:00
parent 1b4cfd4fea
commit ba49e7be08
9 changed files with 0 additions and 17 deletions

View File

@ -102,7 +102,6 @@ supports_constraints = True
supports_tablespaces = True
uses_case_insensitive_names = False
dictfetchmany = util.dictfetchmany
dictfetchall = util.dictfetchall
OPERATOR_MAPPING = {

View File

@ -39,7 +39,6 @@ class DatabaseWrapper(object):
supports_constraints = False
supports_tablespaces = False
dictfetchmany = complain
dictfetchall = complain
OPERATOR_MAPPING = {}

View File

@ -184,7 +184,6 @@ supports_constraints = True
supports_tablespaces = False
uses_case_insensitive_names = False
dictfetchmany = util.dictfetchmany
dictfetchall = util.dictfetchall
OPERATOR_MAPPING = {

View File

@ -203,7 +203,6 @@ supports_constraints = True
supports_tablespaces = False
uses_case_insensitive_names = False
dictfetchmany = util.dictfetchmany
dictfetchall = util.dictfetchall
OPERATOR_MAPPING = {

View File

@ -224,7 +224,6 @@ def to_unicode(s):
return force_unicode(s)
return s
dictfetchmany = util.dictfetchmany
dictfetchall = util.dictfetchall
def get_field_cast_sql(db_type):

View File

@ -200,10 +200,6 @@ supports_constraints = True
supports_tablespaces = False
uses_case_insensitive_names = False
def dictfetchmany(cursor, number):
"Returns a certain number of rows from a cursor as a dict"
return cursor.dictfetchmany(number)
def dictfetchall(cursor):
"Returns all rows from a cursor as a dict"
return cursor.dictfetchall()

View File

@ -163,7 +163,6 @@ supports_constraints = True
supports_tablespaces = False
uses_case_insensitive_names = False
dictfetchmany = util.dictfetchmany
dictfetchall = util.dictfetchall
OPERATOR_MAPPING = {

View File

@ -120,7 +120,6 @@ supports_constraints = False
supports_tablespaces = False
uses_case_insensitive_names = False
dictfetchmany = util.dictfetchmany
dictfetchall = util.dictfetchall
def _sqlite_extract(lookup_type, dt):

View File

@ -133,12 +133,6 @@ def _dict_helper(desc, row):
"Returns a dictionary for the given cursor.description and result row."
return dict(zip([col[0] for col in desc], row))
def dictfetchmany(cursor, number):
"Returns a certain number of rows from a cursor as a dict"
desc = cursor.description
for row in cursor.fetchmany(number):
yield _dict_helper(desc, row)
def dictfetchall(cursor):
"Returns all rows from a cursor as a dict"
desc = cursor.description