summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/crud.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2023-04-17 10:16:35 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2023-04-17 10:20:33 -0400
commit89608ccd3f5e5796d578e9a39201f7c5c45a61fe (patch)
tree7ab7811b5d233fc7f4433d8bdc6ee84d237e1537 /lib/sqlalchemy/sql/crud.py
parentacf7fbd60b9b1291dfc91438416867c88e94c5ba (diff)
downloadsqlalchemy-89608ccd3f5e5796d578e9a39201f7c5c45a61fe.tar.gz
dont assume _compile_options are present
Fixed bug where various ORM-specific getters such as :attr:`.ORMExecuteState.is_column_load`, :attr:`.ORMExecuteState.is_relationship_load`, :attr:`.ORMExecuteState.loader_strategy_path` etc. would throw an ``AttributeError`` if the SQL statement itself were a "compound select" such as a UNION. Fixes: #9634 Change-Id: Ia37df5d6f89d6534d69237dcab294bd849ece28b
Diffstat (limited to 'lib/sqlalchemy/sql/crud.py')
0 files changed, 0 insertions, 0 deletions