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?
Discussion 0
Join free to post in the discussion.
Related questions
- Embed or reference in MongoDBBackend Developer
- Building SQL from user inputBackend Developer
- What atomicity guaranteesBackend Developer
- WHERE column = NULL finds nothingBackend Developer
- COUNT(*) versus COUNT(column)Backend Developer
- Column type for pricesBackend Developer
- Storing order times for two countriesBackend Developer
- Students and courses table designBackend Developer