Open sflowerlisa22 opened 5 years ago
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
@sflowerlisa22 try This->
Meteor.collection("collectionName", { cursoredFind: true })
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?
I thought you would need to fetch() first? https://forums.meteor.com/t/why-is-this-working-without-fetch/48034