Skip to content
RED SAG Skills
hard20 pts · first answer countsdatabasesmongodbschema-design

Some orders never match a query

Orders created by an old app version store amount as a string ('1500'), new ones as a number. A query { amount: { $gt: 1000 } } misses the old ones. Why, and what helps?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions