flask-session icon indicating copy to clipboard operation
flask-session copied to clipboard

GH-95: Add SQLAlchemy storage backend

Open markhobson opened this issue 1 year ago • 1 comments

Addresses #95 by adding a storage backend for native SQLAlchemy rather than Flask-SQLAlchemy. Based off the existing Flask-SQLAlchemy backend implementation.

Submitted for early feedback, so no docs yet. Interested in:

  • whether this backend would be considered
  • a better naming strategy (should sqlalchemy be renamed to flask_sqlalchemy?)
  • the general approach

Happy to refine further if welcome.

markhobson avatar May 30 '24 18:05 markhobson

I would generally prefer data to be in a json(b) column so it's easy to query and read. Think find/delete all sessions of a user.

ddorian avatar Aug 16 '24 10:08 ddorian