mirror of
https://github.com/django/django.git
synced 2025-09-11 13:06:29 +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:
parent
5f51f0524a
commit
29f67dce9e
10 changed files with 13 additions and 26 deletions
|
@ -152,9 +152,6 @@ dictfetchall = util.dictfetchall
|
|||
def get_last_insert_id(cursor, table_name, pk_name):
|
||||
return cursor.lastrowid
|
||||
|
||||
def get_datetime_cast_sql():
|
||||
return None
|
||||
|
||||
def get_limit_offset_sql(limit, offset=None):
|
||||
sql = "LIMIT "
|
||||
if offset and offset != 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue