-
Notifications
You must be signed in to change notification settings - Fork 305
Closed
Labels
Milestone
Description
Something like:
{:ok, write_id} =
Electric.Client.transaction_with_write_id(Repo, fn ->
Repo.update(changeset)
end)(?)
Write id implementation:
- transaction xid
- metadata column in table
For the latter then we could add helpers to create the column in migrations, much like ecto's timestamps()
I think it makes sense to add this functionality here, rather than in electric phoenix as this is not phoenix specific.