popcorn :: Repository :: find_all
query
Using query
== null will retrieve all the document in the repository.
redef fun find_all(query, skip, limit) do
var res = new Array[E]
for e in collection.find_all(query or else new JsonObject, skip, limit) do
res.add deserialize(e.to_json).as(E)
end
return res
end
lib/popcorn/pop_repos.nit:329,2--335,4