summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/functions.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2007-12-18 06:13:42 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2007-12-18 06:13:42 +0000
commitdf68f307775a545e067f3a8a3f6bcc9e1f11d9b2 (patch)
treea0405894532079a4fdda9d1a7a840ce212b8c6be /lib/sqlalchemy/sql/functions.py
parentfaf4aca165cef9bbd8d90b7a4f4ccf2b3d986ea1 (diff)
downloadsqlalchemy-df68f307775a545e067f3a8a3f6bcc9e1f11d9b2.tar.gz
get most oracle tests in sql working again....
Diffstat (limited to 'lib/sqlalchemy/sql/functions.py')
-rw-r--r--lib/sqlalchemy/sql/functions.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql/functions.py b/lib/sqlalchemy/sql/functions.py
index d39032b91..869df46a7 100644
--- a/lib/sqlalchemy/sql/functions.py
+++ b/lib/sqlalchemy/sql/functions.py
@@ -67,6 +67,9 @@ class localtimestamp(AnsiFunction):
class session_user(AnsiFunction):
__return_type__ = sqltypes.String
+class sysdate(AnsiFunction):
+ __return_type__ = sqltypes.DateTime
+
class user(AnsiFunction):
__return_type__ = sqltypes.String
@@ -75,4 +78,4 @@ def _type_from_args(args):
if not isinstance(a.type, sqltypes.NullType):
return a.type
else:
- return sqltypes.NullType \ No newline at end of file
+ return sqltypes.NullType