diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-02-03 16:47:53 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-02-03 16:47:53 -0500 |
commit | 8fc36f3b56e574d7019de55b4c3b86aeec81472f (patch) | |
tree | 469b53794667ac166e8aaa51cfa8fdd31281cde7 /doc/build/tutorial | |
parent | cce7120b758782cf4a3b5fc9453e5f11832bae9b (diff) | |
download | sqlalchemy-8fc36f3b56e574d7019de55b4c3b86aeec81472f.tar.gz |
Repair tests for older SQLite, timing, pypy
Change-Id: I9e425d2415d18a893342244755c7748b546fb20d
Diffstat (limited to 'doc/build/tutorial')
-rw-r--r-- | doc/build/tutorial/data.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/build/tutorial/data.rst b/doc/build/tutorial/data.rst index 1b9d946b2..5da8b8667 100644 --- a/doc/build/tutorial/data.rst +++ b/doc/build/tutorial/data.rst @@ -1520,7 +1520,7 @@ number the email addresses of individual users: ... user_table.c.name, ... address_table.c.email_address ... ).select_from(user_table).join(address_table) - >>> with engine.connect() as conn: + >>> with engine.connect() as conn: # doctest:+SKIP ... result = conn.execute(stmt) ... print(result.all()) {opensql}BEGIN (implicit) @@ -1541,7 +1541,7 @@ We also may make use of the ``ORDER BY`` clause using :paramref:`_functions.Func ... func.count().over(order_by=user_table.c.name), ... user_table.c.name, ... address_table.c.email_address).select_from(user_table).join(address_table) - >>> with engine.connect() as conn: + >>> with engine.connect() as conn: # doctest:+SKIP ... result = conn.execute(stmt) ... print(result.all()) {opensql}BEGIN (implicit) @@ -1592,7 +1592,7 @@ using the :meth:`_functions.FunctionElement.filter` method:: ... func.count(address_table.c.email_address).filter(user_table.c.name == 'sandy'), ... func.count(address_table.c.email_address).filter(user_table.c.name == 'spongebob') ... ).select_from(user_table).join(address_table) - >>> with engine.connect() as conn: + >>> with engine.connect() as conn: # doctest:+SKIP ... result = conn.execute(stmt) ... print(result.all()) {opensql}BEGIN (implicit) @@ -1637,7 +1637,7 @@ modern versions of SQLite:: >>> onetwothree = func.json_each('["one", "two", "three"]').table_valued("value") >>> stmt = select(onetwothree).where(onetwothree.c.value.in_(["two", "three"])) - >>> with engine.connect() as conn: + >>> with engine.connect() as conn: # doctest:+SKIP ... result = conn.execute(stmt) ... print(result.all()) {opensql}BEGIN (implicit) |