SQL function implemented in SQLite, courtesy
Richard Mitchell. Added test
old SQLite versions that don't deliver
default info as a string. [ticket:2265]
+ - [feature] Added support for the localtimestamp()
+ SQL function implemented in SQLite, courtesy
+ Richard Mitchell.
+
- postgresql
- [bug] Columns in reflected primary key constraint
are now returned in the order in which the constraint
"1"
)
+ def test_localtime(self):
+ self.assert_compile(
+ func.localtimestamp(),
+ 'DATETIME(CURRENT_TIMESTAMP, "localtime")'
+ )
+
def test_constraints_with_schemas(self):
metadata = MetaData()
t1 = Table('t1', metadata,