Skip to content
Discussion options

You must be logged in to vote

Update

Since v1.0, you can expand any q.where() filter at any level of your data: on the root, on a nested object, on a leaf property.

const users = new Collection({ schema })

users.findMany((q) => q.where((user) => {
  return user.someProp === 1 && user.anotherProp === null
}))

Learn more about the new Querying syntax.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@mesteche
Comment options

@kettanaito
Comment options

@kettanaito
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by kettanaito
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #205 on April 19, 2022 18:28.