Ecto-based implementation of the QueryAPI port.
Provides cross-session search, aggregation, and export using Ecto queries. Works with any Ecto-compatible database (PostgreSQL, SQLite).
Usage
query = {EctoQueryAPI, MyApp.Repo}
{:ok, %{sessions: sessions}} = QueryAPI.search_sessions(query, agent_id: "agent-1")