View Source Sorcery.Storage.GenserverAdapter.Query (Sorcery v0.2.0)
Link to this section Summary
Functions
Given a list of ALL connected portals, return a list of pids, such that at least one of their portals is affected by the qmeta. Careful, we're potentially working with huge amounts of data.
Determine if a portal is observing any of the entities in the qmeta
Given a list of portals, recalculate such that
Given a portal, return a db of entities satisfying it.
Given a list of portals, return a db of entities satisfying it.
Link to this section Functions
Given a list of ALL connected portals, return a list of pids, such that at least one of their portals is affected by the qmeta. Careful, we're potentially working with huge amounts of data.
Determine if a portal is observing any of the entities in the qmeta
Given a list of portals, recalculate such that:
- Every tuple of {ref, attr} in a guard will become a MapSet of values in the resolve_guard.
- Every entity matching the portal will be found, and indexed
Given a portal, return a db of entities satisfying it.
Given a list of portals, return a db of entities satisfying it.