Manager Filtering Issues #3667
-
|
I'm trying to use Managers for some queries on my database. In a specific query, I'm using a final occurrence = db.managers.transactions.filter((t) => t.recurringTemplateId.id(transaction.template.id) & t.date.isBeforeOrOn(_selectedDate));However, there are some issues with this query: So, maybe I'm just not using managers properly. Or maybe there's a bug here, or VSCode's intellisense is acting up. I'm betting on the former, but it's confusing since I'm using the manager's filtering exactly as shown in Drift's docs. The date time column is nothing special, either, it's just a regular |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
I'll be happy to take a look. Your query looks correct, so something funny must be going on. |
Beta Was this translation helpful? Give feedback.
Thanks for your response. I realized the issue was actually very silly, and I just overlooked it. When trying to use these methods, VSCode was importing each method individually instead of just having the whole Drift package imported.