Skip to content

Find a better way to set query_class #1

@iurisilvio

Description

@iurisilvio

This is ugly.

Model.query_class == CachingQuery
db = SQLAlchemy(session_options={'query_cls': CachingQuery})

I want something like db = SQLAlchemy(query_class=CachingQuery). I have to investigate Flask-SQLAlchemy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions