update db examples and readmes

This commit is contained in:
Asim Aslam
2021-12-01 13:57:07 +00:00
parent ce9e835af4
commit a4187894b2
3 changed files with 14 additions and 13 deletions

View File

@@ -2,5 +2,5 @@ Simple database service
# DB Service
The DB service is a straightforward key-value and document database which provides persistent storage via a CRUD interface. It includes feature rich querying and JSON based formatted records for native use in Node.js and or any language. Powering the backend of your apps from anywhere in the world.
The DB service is an easy to use database which provides persistent storage via a CRUD interface. It includes feature rich querying and JSON based formatted records for native use in Node.js and or any language. Powering the backend of your apps from anywhere in the world.

View File

@@ -4,7 +4,7 @@
"title": "Create a record",
"run_check": true,
"request": {
"table": "users",
"table": "people",
"record": {
"id": "1",
"name": "Jane",
@@ -22,7 +22,7 @@
"title": "Update a record",
"run_check": true,
"request": {
"table": "users",
"table": "example",
"record": {
"id": "1",
"age": 43
@@ -37,7 +37,7 @@
"run_check": true,
"idempotent": true,
"request": {
"table": "users",
"table": "example",
"query": "age == 43"
},
"response": {
@@ -57,7 +57,7 @@
"title": "Delete a record",
"run_check": true,
"request": {
"table": "users",
"table": "example",
"id": "1"
},
"response": {}
@@ -68,7 +68,7 @@
"title": "Truncate table",
"run_check": false,
"request": {
"table": "users"
"table": "example"
},
"response": {}
}
@@ -78,7 +78,7 @@
"title": "Drop table",
"run_check": false,
"request": {
"table": "users"
"table": "example"
},
"response": {}
}
@@ -88,7 +88,7 @@
"title": "Count entries in a table",
"run_check": false,
"request": {
"table": "users"
"table": "example"
},
"response": {
"count": 31
@@ -101,7 +101,7 @@
"run_check": false,
"request": {},
"response": {
"tables": ["users", "events"]
"tables": ["example", "example2"]
}
}
],
@@ -110,8 +110,8 @@
"title": "Rename table",
"run_check": false,
"request": {
"from": "events",
"to": "events_backup"
"from": "examples2",
"to": "examples3"
},
"response": {}
}