elixir-mongo / elixir-mongo/mongodb_ecto

Not able to pass limit

Open
#189 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Elixir
Stars
378
Forks
127
PR merge metrics
No merged PRs in 30d

Description

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
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.