mirror of
https://github.com/django/django.git
synced 2025-07-04 01:39:20 +00:00
boulder-oracle-sprint: Fixed oracle get_datetime_cast_sql for microsecond precision.
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
d541f7a642
commit
74e2925042
@ -145,7 +145,7 @@ def get_date_trunc_sql(lookup_type, field_name):
|
||||
return sql
|
||||
|
||||
def get_datetime_cast_sql():
|
||||
return "TO_TIMESTAMP(%s, 'YYYY-MM-DD HH24:MI:SS')"
|
||||
return "TO_TIMESTAMP(%s, 'YYYY-MM-DD HH24:MI:SS.FF')"
|
||||
|
||||
def get_limit_offset_sql(limit, offset=None):
|
||||
# Limits and offset are too complicated to be handled here.
|
||||
|
Loading…
x
Reference in New Issue
Block a user