]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
tutorial 2.0 WIP
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 26 Sep 2020 02:31:16 +0000 (22:31 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 31 Oct 2020 17:44:53 +0000 (13:44 -0400)
commit654b462d668a2ced4e87077b9babb2590acbf983
tree8b6023480423e990c9bbca7c280cb1cb58e012fc
parent841eb216644202567ebddfc0badc51a3a35e98c3
tutorial 2.0 WIP

Add SelectBase.exists() method as it seems strange this is
not available already.  The Exists construct itself does
not provide full SELECT-building capabilities so it makes
sense this should be used more like a scalar_subquery.

Make sure stream_results is getting set up when yield_per
is used, for 2.0 style statements as well.  this was
hardcoded inside of Query.yield_per() and is now moved
to take place within QueryContext.

Change-Id: Icafcd4fd9b708772343d56edf40995c9e8f835d6
53 files changed:
doc/build/changelog/migration_14.rst
doc/build/changelog/migration_20.rst
doc/build/conf.py
doc/build/contents.rst
doc/build/core/expression_api.rst
doc/build/core/operators.rst [new file with mode: 0644]
doc/build/core/selectable.rst
doc/build/core/tutorial.rst
doc/build/dialects/postgresql.rst
doc/build/errors.rst
doc/build/faq/sessions.rst
doc/build/glossary.rst
doc/build/index.rst
doc/build/orm/extensions/declarative/api.rst
doc/build/orm/extensions/declarative/index.rst
doc/build/orm/extensions/declarative/inheritance.rst
doc/build/orm/loading_columns.rst
doc/build/orm/loading_objects.rst
doc/build/orm/loading_relationships.rst
doc/build/orm/mapping_styles.rst
doc/build/orm/query.rst
doc/build/orm/queryguide.rst [new file with mode: 0644]
doc/build/orm/session_basics.rst
doc/build/orm/tutorial.rst
doc/build/queryguide.rst [deleted file]
doc/build/tutorial.rst [deleted file]
doc/build/tutorial/data.rst [new file with mode: 0644]
doc/build/tutorial/dbapi_transactions.rst [new file with mode: 0644]
doc/build/tutorial/engine.rst [new file with mode: 0644]
doc/build/tutorial/further_reading.rst [new file with mode: 0644]
doc/build/tutorial/index.rst [new file with mode: 0644]
doc/build/tutorial/metadata.rst [new file with mode: 0644]
doc/build/tutorial/orm_data_manipulation.rst [new file with mode: 0644]
doc/build/tutorial/orm_related_objects.rst [new file with mode: 0644]
doc/build/tutorial/tutorial_nav_include.rst [new file with mode: 0644]
lib/sqlalchemy/engine/interfaces.py
lib/sqlalchemy/engine/result.py
lib/sqlalchemy/engine/row.py
lib/sqlalchemy/orm/context.py
lib/sqlalchemy/orm/interfaces.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/session.py
lib/sqlalchemy/sql/dml.py
lib/sqlalchemy/sql/elements.py
lib/sqlalchemy/sql/schema.py
lib/sqlalchemy/sql/selectable.py
lib/sqlalchemy/sql/type_api.py
lib/sqlalchemy/testing/suite/test_unicode_ddl.py
lib/sqlalchemy/util/deprecations.py
test/base/test_tutorials.py
test/orm/test_query.py
test/sql/test_compiler.py
test/sql/test_metadata.py