Closed gsouf closed 4 years ago
Hi! There seems to be an error in your code.
query: ref => {
ref.limit(3);
}
should be:
query: ref => {
return ref.limit(3);
}
or
query: ref => ref.limit(3)
@IjzerenHein thanks for your input but I confirm it does not work, the function passed in the param query
is not called at all.
Hmm that is strange indeed. Are you getting any docs at all?
I'm getting all docs in the collection, like if I didn't specify any query. As I said it's not evaluated at all. So the same occurs with where
or orderBy
. Missing something obvious?
That is so weird.. The query
arg is a critical part of Firestorter, without it you couldn't do any kind of query's, so it's hard to believe it's broken. Can you perhaps share a small sample app on codesandbox/stackblitz that shows the problem?
found the issue, was related to some tools out of the scope of firestorter sorry for the mess
Hello,
I have issues using the query option/method of the the collection.
It's not evaluated at all.
The example bellow won't take into account my "limit=3"