Skip to content

Commit

Permalink
Revised README and added Utilisation section
Browse files Browse the repository at this point in the history
  • Loading branch information
evadne committed Aug 30, 2019
1 parent ae30592 commit 3ce3367
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,13 @@ Afterwards, create a new [Ecto.Repo](https://hexdocs.pm/ecto/Ecto.Repo.html), wh
use Ecto.Repo, otp_app: @otp_app, adapter: Etso.Adapter
end

Once this is done, you can use any struct against the Repo normally, as you would with any other Repo. Check out the [Northwind modules](https://github.com/evadne/etso/tree/master/test/support/northwind) for an example.
Once this is done, you can use any Schema against the Repo normally, as you would with any other Repo. Check out the [Northwind modules](https://github.com/evadne/etso/tree/master/test/support/northwind) for an example.

## Utilisation

Originally, Etso was created to answer the question of whether ETS and Ecto can be married together. It has since found some uses in production applications, serving as a Data Repository for pre-defined nested content. This proved invaluable for rapid iteration.

(If you have other Use Cases for this library, please add it here with a Pull Request.)

## Further Note

Expand Down

0 comments on commit 3ce3367

Please sign in to comment.