feat: Adding notifications endpoint
This commit is contained in:
14
scripts/playground.mongodb.js
Normal file
14
scripts/playground.mongodb.js
Normal file
@@ -0,0 +1,14 @@
|
||||
// MongoDB Playground
|
||||
// Use Ctrl+Space inside a snippet or a string literal to trigger completions.
|
||||
|
||||
// The current database to use.
|
||||
use('enrutaviaporte');
|
||||
|
||||
// Create a new document in the collection.
|
||||
db.getCollection('notifications').insertOne({
|
||||
"owner" : ObjectId("65eeadb8ed616b897ca4c4cd"),
|
||||
"title":"Notification title",
|
||||
"description":"Notification description",
|
||||
"tag":"category",
|
||||
"deleted":false
|
||||
});
|
||||
Reference in New Issue
Block a user