Skip to content

Not able to pass limit #189

Description

@briankariuki

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions