DynFork::QCommons::Many
Queries like find many.
Instance methods
Deletes multiple documents. NOTE: For more details, please check the official documentation. NOTE: For more details, please check the cryomongo documentation.
Finds the documents matching the Model.
Converts documents into a array of Hash objects.
NOTE: For more details, please check the official documentation.
NOTE: For an overview of read operations, check the official manual.
NOTE: For more details, please check the cryomongo documentation.
Example:
arr = ModelName.find_many_to_hash_list({qty: {"$gt": 4}})
Finds the documents matching the Model.
Converts documents to a json string.
NOTE: For more details, please check the official documentation.
NOTE: For an overview of read operations, check the official manual.
NOTE: For more details, please check the cryomongo documentation.
Example:
json_str = ModelName.find_many_to_json({qty: {"$gt": 4}})