dwyl / dwyl/alog

Update - Ecto.Adapters.SQL.Connection

Open
#46 5 comments 0 reactions 1 assignee Claimed by @Danwhy View on GitHub
discuss enhancement in-progress
Dominant language
Elixir
Stars
15
Forks
2
PR merge metrics
No merged PRs in 30d

Description

part of #38

https://hexdocs.pm/ecto_sql/Ecto.Adapters.SQL.Connection.html#c:update/5

Our update implementation needs to work in much the same way as our [insert](#45), but it also needs to compare the newly generated cid to the old one, and not do anything if they are the same as it means the data is unchanged. If they are different, it needs to be added to the row as the `previous_cid`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.