stargate / stargate-mongoose

Mongoose Node.js package for Apache Cassandra / DataStax Astra

Home Page:https://stargate.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add more tests related to JSON API 1.0.5-ALPHA

kathirsvn opened this issue · comments

Test cases for below scenarios (and any missed scenarios) here need to be added in the stargate-mongoose layer
* insertMany ordered option
* insertOne/insertMany partial failures (for example id already exists)
* countDocuments
* $rename, $min, $max, $mul, $push, $pop, $pullAll, $exists
* Test https://github.com/stargate/jsonapi/blob/main/CONFIGURATION.md#document-limits-configuration
* findOneAndUpdate -> test returnDocument

  • before
    • findOneAndUpdate -> test upsert - before
    • sort and skip
    • skip without sort
    • findDatabases
    • $in support
    • $slice