YUKI Hiroshi
null+****@clear*****
Fri Dec 27 16:43:31 JST 2013
YUKI Hiroshi 2013-12-27 16:43:31 +0900 (Fri, 27 Dec 2013) New Revision: d2e0ddea11b3af985352d4f1769fffdf68df681e https://github.com/droonga/droonga.org/commit/d2e0ddea11b3af985352d4f1769fffdf68df681e Message: Update sample response of the add command for the latest implementation Modified files: reference/commands/add/index.md Modified: reference/commands/add/index.md (+4 -4) =================================================================== --- reference/commands/add/index.md 2013-12-27 16:43:00 +0900 (f6adea4) +++ reference/commands/add/index.md 2013-12-27 16:43:31 +0900 (d0ac1c4) @@ -81,7 +81,7 @@ Specify only `table` and `values`, without `key`, if the table has no primary ke => { "type" : "add.result", - "body" : [true] + "body" : true } The `add` command works recursively. If there is no existing record with the key in the referred table, then it is also automatically added silently so you'll see no error response. For example this will add a new Person record with a new Job record named `doctor`. @@ -99,7 +99,7 @@ The `add` command works recursively. If there is no existing record with the key => { "type" : "add.result", - "body" : [true] + "body" : true } By the command above, a new record will be automatically added to the Job table like; @@ -127,7 +127,7 @@ Specify all parameters `table`, `values` and `key`, if the table has a primary k => { "type" : "add.result", - "body" : [true] + "body" : true } ### Updating column values of an existing record {#updating} @@ -147,7 +147,7 @@ This command works as "updating" operation, if the table has a primary key colum => { "type" : "add.result", - "body" : [true] + "body" : true } -------------- next part -------------- HTML����������������������������...Download