Skip to content

Allow specifying hint to sqlstorage, to only load specific fields  #22

@kagesenshi

Description

@kagesenshi

Currently we default to selecting all fields in sqlstorage, which can cause bad performance. SQLAlchemy have a way to give hint to only load some fields:

https://docs.sqlalchemy.org/en/13/orm/loading_columns.html#sqlalchemy.orm.load_only

Look into providing hint at request environment to only only load some fields

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions