Skip to content

Commit

Permalink
Database API actions on sandbox.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Dec 31, 2023
1 parent 4dbabc3 commit 198d4c2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/sandbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ const dataAnalyticsActions = {
};

const databaseActions = {
"create_db": ["Database: Create", "{\n\t\"name\": \"\",\n\t\"mode\": \"\",\n\t\"content\": \"\"\n}"]
"create_db": ["Database: Create", "{\n\t\"name\": \"\",\n\t\"mode\": \"\",\n\t\"content\": \"\"\n}"],
"db_get_by_name": ["Database: Get By Name", "{\n\t\"name\": \"\"\n}"],
"db_set_mode": ["Database: Set Mode", "{\n\t\"name\": \"\",\n\t\"mode\": \"\"\n}"],
"db_get_mode": ["Database: Get Mode", "{\n\t\"name\": \"\"\n}"],
"db_fetch_all": ["Database: Fetch All", "{}"]
};

const addGroupToActions = (name)=> {
Expand Down

0 comments on commit 198d4c2

Please sign in to comment.