dwyl / alog

🌲 alog (Append-only Log) is an easy way to start using the Lambda/Kappa architecture in your Elixir/Phoenix Apps while still using PostgreSQL (with Ecto).
GNU General Public License v2.0
15 stars 2 forks source link

Delete - Ecto.Adapters.SQL.Connection #42

Open Danwhy opened 5 years ago

Danwhy commented 5 years ago

Part of #38

https://hexdocs.pm/ecto_sql/Ecto.Adapters.SQL.Connection.html#c:delete/4

We'll need to implement this callback ourselves as we need to ensure data is not actually deleted, but only marked as so. It's unlikely that we'll be able to use any of the existing functionality.