mongodb_ecto
mongodb_ecto copied to clipboard
Not able to pass limit
Here's my query, selecting that first 10 elements from user's collection.
users = Repo.all(from(u in UserModel, limit: 4, select: u))
When I run this I get this errror
** (exit) an exception was raised:
** (FunctionClauseError) no function clause matching in Mongo.Ecto.NormalizedQuery.offset_limit/5