Improve sumo:find_by
to make it more flexible – pagination/sorting params as options
#307
Labels
sumo:find_by
to make it more flexible – pagination/sorting params as options
#307
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 implementfind_by/3
:There might be some common option like:
limit
,offset
, etc., which will be defined and documented in sumo, but in general, each adapter could have its own options, and of course, they should be well documented.The text was updated successfully, but these errors were encountered: