PatolordP
Convex Community2y ago
2 replies
Patolord

Query withIndex cannot be undefined?

I was using filter query and it worked fine. but i changed to withIndex and now VS Code complains movement.fromWarehouseId might be an Id or Undefined.
putting a ! ends the problem but is this the correct way?
image.png
image.png
Was this page helpful?