Sourced.EventStore.Postgres.Tag (sourced_postgres v0.2.0)

Copy Markdown View Source

Ecto schema for the side table queries match tags against, and the queries run against it.

Never written from here — a trigger keeps it in step with the tags column of Sourced.EventStore.Postgres.Event. See Sourced.EventStore.Postgres.Migrations for why the tags an event carries are stored in both places.

Summary

Functions

Query returning the sequences of the events carrying all of tags.

Functions

tagged_with(tags)

Query returning the sequences of the events carrying all of tags.