sumo_db
sumo_db copied to clipboard
Erlang Persistency Framework
For example https://marcelog.github.com/articles/erlang_persistence_entities.html Is this project dead and to be avoided or is it still viable? I'm not super enthusiastic about rolling my own ORM and does the lack of...
sumo_store uses wpool:call/2 which defaults to a 5 second timeout and to work around this when queries can take longer than 5 seconds, substitution of for example sumo:find_by/5 to sumo:call/3...
There are some callbacks that might be optional, maybe `find_by`, `create_schema`, etc. For those functions, we should identify them and treat them as such. For example, it would be nice...
Currently, the only callback exposed by `sumo_backend` is `start_link`, and that function receives a list of options, which can be handled by `sumo_store:init/1` as well, so there is no need...
Add generic log function to be used in sumo_db and its adapters
Create a new clause when the value is a map. This is useful for the Riak Adapter. ```erlang to_bin(Data) when is_map(Data) -> term_to_binary(Data); ```
Currently, when is needed to execute a query with sort params using `find_by`, you are forced to pass the pagination parameters as well. The proposal is to implement `find_by/3`: ```erlang...
The idea is to implement a rebar3 plugin `rebar3_sumo_plugin` (check the doc [HERE](https://www.rebar3.org/docs/using-available-plugins)) in order to automate some task, for example, the model generation, at least a good skeleton that...