Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Error: must use ordered observe (ie, 'addedBefore' instead of 'added') with skip or limit #6

Open
brugnara opened this issue Feb 1, 2015 · 0 comments

Comments

@brugnara
Copy link

brugnara commented Feb 1, 2015

Using this query:

cursor: U.stops.find(
          {
            $and: (Session.get('u-search') || '')
              .trim()
              .split(' ').map(function (el) {
                return {
                  stop_name: new RegExp(el.trim(), 'i')
                }
              })
          },
          {limit: 10} // this is generating the "problem"
        ),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant