(table1.c.description, 'description', 'description'),
table1.c.description.type)}
)
-
-
-
-
'FROM "order") pg suffix SELECT "order"."order" FROM "order", '
'regional_sales WHERE "order"."order" > regional_sales."order"',
dialect='postgresql'
- )
\ No newline at end of file
+ )
a2_to_a1.columns[t2.c.col2], stmt2.c.col2
)
-
def test_wrapping_multiple(self):
"""illustrate that wrapping runs both adapters"""
eq_(l3._allow_label_resolve, False)
-
class SpliceJoinsTest(fixtures.TestBase, AssertsCompiledSQL):
__dialect__ = 'default'
assert_raises_message, fixtures
from sqlalchemy.sql import crud
+
class _InsertTestBase(object):
@classmethod
from contextlib import contextmanager
from sqlalchemy import util
+
class MetaDataTest(fixtures.TestBase, ComparesTables):
def test_metadata_connect(self):
assert t.c.x.default is s2
assert m1._sequences['x_seq'] is s2
-
def test_sequence_attach_to_table(self):
m1 = MetaData()
s1 = Sequence("s")
"mytable_1.name AS t1name, foo(:foo_1) AS x "
"FROM mytable AS mytable_1 ORDER BY mytable_1.myid, t1name, x"
)
-