@yisrael-wix Collection 1 has 4 records: 3 have dates past today’s date and one has a date which is prior to today’s. If I put a console.log statement in the Collection 1 query it always shows me 4 records if I remove the filter and 3 records if I put it back. So the issue lies with the second the ‘data’ collection query. “date” : res [ ‘dateTime’ ]. toDateString (), is correct because I’m getting the parameter from Collection 1. Silly me for using similar variable names, sorry, but it’s correct that way.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Query in a FOR loop | 6 | 5245 | February 22, 2019 | |
| async function with a foreach loop | 5 | 1450 | September 23, 2019 | |
| TO BE UPDATE - Result query out of query | 13 | 473 | March 24, 2018 | |
| Async / Await help (two queries one inside the other) | 3 | 363 | January 19, 2019 | |
| Problems with Getting a query to work | 9 | 352 | February 1, 2018 |