[Groonga-commit] droonga/droonga.org at 4569195 [gh-pages] Mark placeholders as "<...>"

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Dec 18 16:44:57 JST 2013


YUKI Hiroshi	2013-12-18 16:44:57 +0900 (Wed, 18 Dec 2013)

  New Revision: 45691956c65d4e0778d02e3a3e484ecef5e88360
  https://github.com/droonga/droonga.org/commit/45691956c65d4e0778d02e3a3e484ecef5e88360

  Message:
    Mark placeholders as "<...>"

  Modified files:
    reference/commands/add/index.md

  Modified: reference/commands/add/index.md (+10 -10)
===================================================================
--- reference/commands/add/index.md    2013-12-18 16:18:03 +0900 (a42a604)
+++ reference/commands/add/index.md    2013-12-18 16:44:57 +0900 (eebd084)
@@ -10,18 +10,18 @@ layout: documents
 
 The `add` command adds a new record to the specified table. Column values of the existing record are updated by given values, if the table has a primary key and there is existing record with the specified key.
 
-`add` is a request-response style command. One response message is always returned per one request.
+This is a request-response style command. One response message is always returned per one request.
 
 ## Syntax {#syntax}
 
 If the table has a primary key column:
 
     {
-      "table"  : "Name of the table",
-      "key"    : "The primary key of the record",
+      "table"  : "<Name of the table>",
+      "key"    : "<The primary key of the record>",
       "values" : {
-        "Name of the column 1" : value1,
-        "Name of the column 2" : value2,
+        "<Name of the column 1>" : <value 1>,
+        "<Name of the column 2>" : <value 2>,
         ...
       }
     }
@@ -29,10 +29,10 @@ If the table has a primary key column:
 If the table has no primary key column:
 
     {
-      "table"  : "Name of the table",
+      "table"  : "<Name of the table>",
       "values" : {
-        "Name of the column 1" : value1,
-        "Name of the column 2" : value2,
+        "<Name of the column 1>" : <value 1>,
+        "<Name of the column 2>" : <value 2>,
         ...
       }
     }
@@ -175,7 +175,7 @@ Value of unspecified columns will not be changed.
 
 ## Responses {#response}
 
-This returns an array including a boolean value which means the operation has been successfully done or not.
+This returns an array including a boolean value which means the operation was successfully done or not.
 
- * `[true]`:The record is successfully added or updated.
+ * `[true]`:The record was successfully added or updated.
  * `[false]`:Failed to add or update a record.
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index