inaka / sumo_db

Erlang Persistency Framework
http://inaka.github.io/sumo_db/
Apache License 2.0
174 stars 37 forks source link

sumo:fetch/2 replaced sumo:find/2 in /examples/blog/src/blog.erl #302

Closed nayibor closed 7 years ago

nayibor commented 7 years ago

escript file /examples/blog/run was generating error escript: exception error: undefined function sumo:fetch/2 which was caused by deprecated sumo:fetch/2 function being used . function was replaced with sumo:find/2 which caused the escript to run without errors

cabol commented 7 years ago

@nayibor looks good to me, the real issue is that the example hasn't been upgraded to latests sumo release, so I'll merge your PR and open an issue to upgrade it.