1
0
mirror of https://github.com/django/django.git synced 2025-10-31 01:25:32 +00:00

Refactored get_sql_sequence_reset() to DatabaseOperations.sequence_reset_sql(). Refs #5106

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty
2007-08-20 00:21:10 +00:00
parent aaed6e04ec
commit 147e99a08a
11 changed files with 89 additions and 103 deletions

View File

@@ -210,11 +210,6 @@ dictfetchall = util.dictfetchall
def get_start_transaction_sql():
return "BEGIN;"
def get_sql_sequence_reset(style, model_list):
"Returns a list of the SQL statements to reset sequences for the given models."
# No sequence reset required
return []
OPERATOR_MAPPING = {
'exact': '= %s',
'iexact': 'LIKE %s',