0.12.29
New Feature
sqlalchemy
unwrap_mode
allows you to control how to unwrap result rows before passing them to items transformer
and page creation.
unwrap_mode
can be set to one of the following values:
None
- will useauto
mode for default queries, andlegacy
fortext
andfrom_statement
queries."auto"
- will unwrap only in case if you are selecting single model."legacy"
- will use old behavior, where row will be unwrapped if it contains only one element."unwrap"
- will always unwrap row, even if it contains multiple elements."no-unwrap"
- will never unwrap row, even if it contains only one element.