AgentSessionManager.Adapters.EctoSessionStore
(AgentSessionManager v0.8.0)
Copy Markdown
View Source
An Ecto-based implementation of the SessionStore port.
Uses an Ecto Repo for persistence, supporting PostgreSQL, SQLite,
MySQL, and any other Ecto-compatible database. All queries use
Ecto.Query and the schemas in EctoSessionStore.Schemas, so
database-specific SQL dialect differences are handled by Ecto.
Configuration
{:ok, store} = EctoSessionStore.start_link(repo: MyApp.Repo)Prerequisites
Run this migration to create required tables and columns:
AgentSessionManager.Adapters.EctoSessionStore.Migration.up()See AgentSessionManager.Adapters.EctoSessionStore.Migration for details.
Summary
Functions
Returns a specification to start this module under a supervisor.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.