]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Update select usage to use the new 1.4 format
authorFederico Caselli <cfederico87@gmail.com>
Wed, 2 Sep 2020 21:46:06 +0000 (23:46 +0200)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 8 Sep 2020 21:13:48 +0000 (17:13 -0400)
commite8600608669d90c4a6385b312d271aed63eb5854
treeef984a01c536b2c81d2283b3ca5d9f4395f41dd0
parent0d56a62f721ee6c91d8a8b6a407b959c9215b3b6
Update select usage to use the new 1.4 format

This change includes mainly that the bracketed use within
select() is moved to positional, and keyword arguments are
removed from calls to the select() function.  it does not
yet fully address other issues such as keyword arguments passed
to the table.select().

Additionally, allows False / None to both be considered
as "disable" for all of select.correlate(), select.correlate_except(),
query.correlate(), which establishes consistency with
passing of ``False`` for the legact select(correlate=False)
argument.

Change-Id: Ie6c6e6abfbd3d75d4c8de504c0cf0159e6999108
112 files changed:
.github/workflows/scripts/can_install.py
doc/build/changelog/migration_14.rst
doc/build/core/custom_types.rst
doc/build/core/defaults.rst
doc/build/core/functions.rst
doc/build/core/pooling.rst
doc/build/errors.rst
doc/build/faq/sqlexpressions.rst
doc/build/glossary.rst
doc/build/orm/join_conditions.rst
doc/build/orm/loading_relationships.rst
doc/build/orm/mapped_sql_expr.rst
doc/build/orm/nonstandard_mappings.rst
doc/build/orm/persistence_techniques.rst
examples/materialized_paths/materialized_paths.py
examples/nested_sets/nested_sets.py
examples/performance/short_selects.py
examples/postgis/postgis.py
examples/versioned_history/test_versioning.py
examples/versioned_rows/versioned_rows_w_versionid.py
lib/sqlalchemy/dialects/mssql/base.py
lib/sqlalchemy/dialects/oracle/base.py
lib/sqlalchemy/dialects/postgresql/array.py
lib/sqlalchemy/dialects/postgresql/base.py
lib/sqlalchemy/dialects/postgresql/ext.py
lib/sqlalchemy/dialects/postgresql/hstore.py
lib/sqlalchemy/dialects/postgresql/json.py
lib/sqlalchemy/engine/default.py
lib/sqlalchemy/ext/compiler.py
lib/sqlalchemy/ext/hybrid.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/util.py
lib/sqlalchemy/sql/base.py
lib/sqlalchemy/sql/dml.py
lib/sqlalchemy/sql/elements.py
lib/sqlalchemy/sql/functions.py
lib/sqlalchemy/sql/operators.py
lib/sqlalchemy/sql/selectable.py
lib/sqlalchemy/sql/sqltypes.py
lib/sqlalchemy/sql/visitors.py
lib/sqlalchemy/testing/requirements.py
lib/sqlalchemy/testing/suite/test_cte.py
lib/sqlalchemy/testing/suite/test_deprecations.py
lib/sqlalchemy/testing/suite/test_dialect.py
lib/sqlalchemy/testing/suite/test_insert.py
lib/sqlalchemy/testing/suite/test_results.py
lib/sqlalchemy/testing/suite/test_select.py
test/aaa_profiling/test_compiler.py
test/aaa_profiling/test_misc.py
test/dialect/mssql/test_compiler.py
test/dialect/mssql/test_deprecations.py
test/dialect/mysql/test_compiler.py
test/dialect/mysql/test_query.py
test/dialect/oracle/test_compiler.py
test/dialect/postgresql/test_compiler.py
test/dialect/postgresql/test_query.py
test/dialect/postgresql/test_types.py
test/dialect/test_firebird.py
test/dialect/test_sqlite.py
test/engine/test_deprecations.py
test/engine/test_execute.py
test/engine/test_logging.py
test/engine/test_pool.py
test/engine/test_reflection.py
test/engine/test_transaction.py
test/ext/declarative/test_basic.py
test/ext/declarative/test_mixin.py
test/ext/test_compiler.py
test/ext/test_serializer.py
test/orm/inheritance/test_assorted_poly.py
test/orm/inheritance/test_basic.py
test/orm/test_assorted_eager.py
test/orm/test_composites.py
test/orm/test_eager_relations.py
test/orm/test_froms.py
test/orm/test_mapper.py
test/orm/test_relationships.py
test/orm/test_selectin_relations.py
test/orm/test_subquery_relations.py
test/orm/test_unitofwork.py
test/requirements.py
test/sql/test_case_statement.py
test/sql/test_compare.py
test/sql/test_compiler.py
test/sql/test_cte.py
test/sql/test_defaults.py
test/sql/test_delete.py
test/sql/test_deprecations.py
test/sql/test_external_traversal.py
test/sql/test_from_linter.py
test/sql/test_functions.py
test/sql/test_insert.py
test/sql/test_labels.py
test/sql/test_lambdas.py
test/sql/test_lateral.py
test/sql/test_metadata.py
test/sql/test_operators.py
test/sql/test_query.py
test/sql/test_quote.py
test/sql/test_resultset.py
test/sql/test_returning.py
test/sql/test_roles.py
test/sql/test_select.py
test/sql/test_selectable.py
test/sql/test_sequences.py
test/sql/test_tablesample.py
test/sql/test_text.py
test/sql/test_type_expressions.py
test/sql/test_types.py
test/sql/test_update.py
test/sql/test_utils.py
test/sql/test_values.py