inProgress-team / inProgress-team/react-native-meteor

Why does find() not return a cursor?

Open
#333 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
688
Forks
200
PR merge metrics
No merged PRs in 30d

Description

Just a question I'm having trouble understanding

Normally in meteor I thought find() would return a cursor only, but when I log it shows its actually the whole array of objects from the collection - is this normal?

```
export default withTracker((props) => {
objectReady: Meteor.subscribe('collection').ready(),
currentObject: Collection.find({ "important": true })
}
```

I thought you would need to fetch() first? https://forums.meteor.com/t/why-is-this-working-without-fetch/48034

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.