.fetchOrCreate()
Fetches the first entry that matches the provided filter directly from the JSON file. If no entry is found, creates and pushes a new one with the provided data into the collection.
Last updated
Was this helpful?
Fetches the first entry that matches the provided filter directly from the JSON file. If no entry is found, creates and pushes a new one with the provided data into the collection.
Last updated
Was this helpful?