Last updated
Last updated
Example of getting the whole posts collection
Example of getting a single collection by _id
_id | String
Example of getting a single collection by key and value
key | String value | String
Example of adding a new post collection
$request_data | Array
Example of updating a collection.
This usually use with $router->put() method
$request_data | Array
Note - $request_data must include _id
field
Example of deleting a collection
$id | String