[Groonga-commit] pgroonga/pgroonga.github.io at 1e60984 [master] Add "since 1.1.9" information

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Nov 30 16:38:44 JST 2016


Kouhei Sutou	2016-11-30 16:38:44 +0900 (Wed, 30 Nov 2016)

  New Revision: 1e60984b2dc51a7cd5b9884d5945fb0dbc97e741
  https://github.com/pgroonga/pgroonga.github.io/commit/1e60984b2dc51a7cd5b9884d5945fb0dbc97e741

  Message:
    Add "since 1.1.9" information

  Modified files:
    _po/ja/reference/functions/pgroonga-command.po
    ja/reference/functions/pgroonga-command.md
    reference/functions/pgroonga-command.md

  Modified: _po/ja/reference/functions/pgroonga-command.po (+14 -12)
===================================================================
--- _po/ja/reference/functions/pgroonga-command.po    2016-11-30 16:35:26 +0900 (fb63b8f)
+++ _po/ja/reference/functions/pgroonga-command.po    2016-11-30 16:38:44 +0900 (e93fd84)
@@ -1,7 +1,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
-"PO-Revision-Date: 2016-11-30 15:32+0900\n"
+"PO-Revision-Date: 2016-11-30 16:38+0900\n"
 "Language: ja\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -39,6 +39,19 @@ msgstr "この関数の構文は次の通りです。"
 msgid ""
 "```text\n"
 "text pgroonga.command(command)\n"
+"```"
+msgstr ""
+
+msgid ""
+"`command` is a `text` type value. `pgroonga.command` executes `command` as a G"
+"roonga command."
+msgstr "`command`は`text`型の値です。`pgroonga.command`は`command`をGroongaのコマンドとして実行します。"
+
+msgid "Here is another syntax of this function. It can be used since 1.1.9:"
+msgstr "この関数にはもうひとつ構文があります。これは1.1.9以降で使えます。"
+
+msgid ""
+"```text\n"
 "text pgroonga.command(name,\n"
 "                      ARRAY[argument_name1, argument_value1,\n"
 "                            argument_name2, argument_value2,\n"
@@ -51,17 +64,6 @@ msgid ""
 "lly. It prevents syntax error and Groonga command injection."
 msgstr "2つめの構文を推奨します。理由は引数の値を自動でエスケープするからです。これによりシンタックスエラーとGroongaコマンドインジェクションを防げます。"
 
-msgid "Here is the description about the first syntax:"
-msgstr "1つめの構文の説明は以下の通りです。"
-
-msgid ""
-"`command` is a `text` type value. `pgroonga.command` executes `command` as a G"
-"roonga command."
-msgstr "`command`は`text`型の値です。`pgroonga.command`は`command`をGroongaのコマンドとして実行します。"
-
-msgid "Here is the description about the second syntax:"
-msgstr "2つめの構文の説明は以下の通りです。"
-
 msgid "`name` is a `text` type value. It's a command name to be executed."
 msgstr "`name`は`text`型の値です。実行するコマンド名です。"
 

  Modified: ja/reference/functions/pgroonga-command.md (+7 -6)
===================================================================
--- ja/reference/functions/pgroonga-command.md    2016-11-30 16:35:26 +0900 (652354d)
+++ ja/reference/functions/pgroonga-command.md    2016-11-30 16:38:44 +0900 (5dfbd65)
@@ -14,6 +14,13 @@ title: pgroonga.command関数
 
 ```text
 text pgroonga.command(command)
+```
+
+`command`は`text`型の値です。`pgroonga.command`は`command`をGroongaのコマンドとして実行します。
+
+この関数にはもうひとつ構文があります。これは1.1.9以降で使えます。
+
+```text
 text pgroonga.command(name,
                       ARRAY[argument_name1, argument_value1,
                             argument_name2, argument_value2,
@@ -22,12 +29,6 @@ text pgroonga.command(name,
 
 2つめの構文を推奨します。理由は引数の値を自動でエスケープするからです。これによりシンタックスエラーとGroongaコマンドインジェクションを防げます。
 
-1つめの構文の説明は以下の通りです。
-
-`command`は`text`型の値です。`pgroonga.command`は`command`をGroongaのコマンドとして実行します。
-
-2つめの構文の説明は以下の通りです。
-
 `name`は`text`型の値です。実行するコマンド名です。
 
 `argument_name`は`text`型の値です。引数名です。この後に対応する引数の値が続きます。

  Modified: reference/functions/pgroonga-command.md (+7 -6)
===================================================================
--- reference/functions/pgroonga-command.md    2016-11-30 16:35:26 +0900 (d0160a7)
+++ reference/functions/pgroonga-command.md    2016-11-30 16:38:44 +0900 (86a8422)
@@ -14,6 +14,13 @@ Here is the syntax of this function:
 
 ```text
 text pgroonga.command(command)
+```
+
+`command` is a `text` type value. `pgroonga.command` executes `command` as a Groonga command.
+
+Here is another syntax of this function. It can be used since 1.1.9:
+
+```text
 text pgroonga.command(name,
                       ARRAY[argument_name1, argument_value1,
                             argument_name2, argument_value2,
@@ -22,12 +29,6 @@ text pgroonga.command(name,
 
 The second syntax is recommended because it escapes argument values automatically. It prevents syntax error and Groonga command injection.
 
-Here is the description about the first syntax:
-
-`command` is a `text` type value. `pgroonga.command` executes `command` as a Groonga command.
-
-Here is the description about the second syntax:
-
 `name` is a `text` type value. It's a command name to be executed.
 
 `argument_name` is a `text` type value. It's an argument name followed by the corresponded argument value.
-------------- next part --------------
HTML����������������������������...
下载 



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