Ability to set the chunk size of a selectinload #11450
Labels
loader options
ORM options like joinedload(), load_only(), these are complicated and have a lot of issues
orm
PRs (with tests!) welcome
a fix or feature which is appropriate to be implemented by volunteers
Milestone
Discussed in #11448
Originally posted by ollz272 June 4, 2024
Hi,
We want to be able to customise the chunk size of selectin load. This is set on a code level at 500:
sqlalchemy/lib/sqlalchemy/orm/strategies.py
Line 2839 in 6f704ca
We'd love to be able to change this, either as a project default, or on a case by case basis. Maybe something like:
If there are any other ways i'd love to hear.
See also mike's suggestions #11448 (comment) and #11448 (reply in thread)
The text was updated successfully, but these errors were encountered: