mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-20 14:35:07 +00:00
DB Update (#138)
* [WIP] DB service * F * F * F * F * F * F * F * F * F * F * F * F * F * F * F * F * F * F * F * F * F * F * F * F * fixup db and return id in create response * add delete method and some error checking * Add the update method * fix panic * use record for the data field * update db Co-authored-by: Janos Dobronszki <dobronszki@gmail.com>
This commit is contained in:
@@ -44,8 +44,10 @@ message CreateResponse {
|
||||
|
||||
message UpdateRequest {
|
||||
string table = 1;
|
||||
// query filter if applying to multiple records
|
||||
string query = 2;
|
||||
// JSON encoded record or records (can be array or object)
|
||||
string record = 2;
|
||||
string record = 3;
|
||||
}
|
||||
|
||||
message UpdateResponse {
|
||||
|
||||
Reference in New Issue
Block a user