1
0
mirror of https://github.com/django/django.git synced 2025-10-25 22:56:12 +00:00

Refactored get_datetime_cast_sql() to DatabaseOperations.datetime_cast_sql(). Refs #5106

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5953 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty
2007-08-19 22:55:05 +00:00
parent 5f51f0524a
commit 29f67dce9e
10 changed files with 13 additions and 26 deletions

View File

@@ -82,9 +82,6 @@ def get_last_insert_id(cursor, table_name, pk_name):
cursor.execute("SELECT CURRVAL('\"%s_%s_seq\"')" % (table_name, pk_name))
return cursor.fetchone()[0]
def get_datetime_cast_sql():
return None
def get_limit_offset_sql(limit, offset=None):
sql = "LIMIT %s" % limit
if offset and offset != 0: