API Reference EctoSync v0.4.0

View Source

Modules

A Cache updater and router for events emitted when database entries are updated. Subscribers can provide a list of records that they want to receive updates on. Additionally, they can provide a function that will act as a means of authorization on the updates they should get.

Drop-in Repo wrapper that adds per-process write counters for Schema based Repo functions

A library to allow you to easily get notifications about database changes directly from PostgreSQL.

Mockable simple queries to PostgreSQL

Actual implementation of EctoSync.Watcher.DB

Internal GenServer for the individual change watchers which are configured by end users

Internal Supervisor for postgres notification watchers (EctoSync.Watcher.WatcherServer)

Internal task run as part of the EctoSync.Watcher supervision tree to check for a match between the triggers that are in the database and the triggers that were started via the configuration.