View Source EctoFoundationDB.Indexer.SchemaMetadata (Ecto.Adapters.FoundationDB v0.5.0)
This is Indexer keeps track of various actions for a Schema:
inserts: Incremented for each insert or upsertdeletes: Incremented for each deletecollection: Incremented for each insert, update, or deleteupdates: Incremented for each update (viaRepo.update/*)changes: Incremented for each insert, upsert, delete, or update
These keys are useful for creating watches that will notify your application of those actions. For example, if you create a watch on the inserts key,
your application will be notified when a new record is inserted, and you can react however you like.
See it in action: Sync Engine Part II - Collections
Summary
Functions
Asynchronously get the changes key.
Asynchronously get the collection key.
Asynchronously get the deletes key.
Asynchronously get the inserts key.
Asynchronously get the updates key.
Synchronous get on the changes key.
Synchronous get on the collection key.
Synchronous get on the deletes key.
Synchronous get on the inserts key.
Synchronous get on the updates key.
Create a watch on the changes key.
Create a watch on the collection key.
Create a watch on the deletes key.
Create a watch on the inserts key.
Create a watch on the updates key.
Functions
Asynchronously get the changes key.
Asynchronously get the collection key.
Asynchronously get the deletes key.
Asynchronously get the inserts key.
Asynchronously get the updates key.
Synchronous get on the changes key.
Synchronous get on the collection key.
Synchronous get on the deletes key.
Synchronous get on the inserts key.
Synchronous get on the updates key.
Create a watch on the changes key.
Create a watch on the collection key.
Create a watch on the deletes key.
Create a watch on the inserts key.
Create a watch on the updates key.