Is anyone on here that has combined #elixirlang, ecto schemas[1] and @couchdb? Any patterns you came up with? Care to share notes?
Post
Is anyone on here that has combined #elixirlang, ecto schemas[1] and @couchdb? Any patterns you came up with? Care to share notes?
In those cases I much rather write to the DB driver directly or write a small abstraction for my use case.
The elixir forums at https://elixirforum.com may hold interesting discussions on those topics.
@dersmon I used Ecto schemas succesfully in conjuction with document oriented approaches. This is not specific to Couch though. Specifically I‘m using https://hexdocs.pm/ecto/embedded-schemas.html and changesets to ensure data integrity.
To interface with CouchDB I used couchbeam or directly the REST interface.
A space for Bonfire maintainers and contributors to communicate