From e548b07226999a8397900074c5aa43de9bbfa5e7 Mon Sep 17 00:00:00 2001 From: anubhavjana Date: Fri, 3 Mar 2023 00:54:03 +0530 Subject: [PATCH] Update readme.md --- readme.md | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) diff --git a/readme.md b/readme.md index 8c0dfb4..6db3046 100644 --- a/readme.md +++ b/readme.md @@ -405,50 +405,3 @@ op_2 = params["__ow_body"][1]["key_action_2"] Use these op_1 and op_2 to process ############################################## - -

MongoDB - DAG Store

- -DAG Registration stores the given dag specification to a mongodb database named dag_store and collection named dags - -
Using mongo
- -* sudo service mongodb start: Starts the mongodb service - -* mongo: Starts the mongo shell - -* show dbs: Lists all databases - -* use dag_store: Creates (if not present) and switches to this database - -* db: View the current database - - -## Sample usage ## - -use dag_store - -db.dag_metadata.deleteOne({"_id" : ObjectId("63f523cac540a53983362751")}) - -db.dags.deleteOne({"_id" : ObjectId("63f523cac540a53983362751")}) - -db.dags.find() - -db.dag_metadata.find() - -db.dags.find({},{"_id": 1,"name":1}) - -db.dags.find("name":"odd-even-test-2") - -use function_store - -db.functions.find() - -db.functions.deleteOne({"_id" : ObjectId("63fb33dd52f32fb6cb755517")}) - -use trigger_store - -db.triggers.find() - -db.triggers.deleteOne({"_id" : ObjectId("6400b57040aa62f477087c07")}) - -