null+****@clear*****
null+****@clear*****
2012年 6月 27日 (水) 12:01:43 JST
Ryo Onodera 2012-06-27 12:01:43 +0900 (Wed, 27 Jun 2012) New Revision: f73916b6c016a246b6aa5b1fa0df045b00a2e268 https://github.com/groonga/groonga/commit/f73916b6c016a246b6aa5b1fa0df045b00a2e268 Log: doc: update execution example of table_list command Added files: doc/source/example/commands/table_list.log Modified files: doc/source/commands/table_list.txt Modified: doc/source/commands/table_list.txt (+3 -26) =================================================================== --- doc/source/commands/table_list.txt 2012-06-27 11:55:25 +0900 (0beb450) +++ doc/source/commands/table_list.txt 2012-06-27 12:01:43 +0900 (038b98f) @@ -76,29 +76,6 @@ json形式 ``テーブル情報名n`` で示された情報の配列を出力します。 情報の順序は ``テーブル情報名n`` の順序と同じです。 -例 --- -:: - - table_list Entry - - [[["id", "UInt32"], - ["name","ShortText"], - ["path","ShortText"], - ["flags","ShortText"], - ["domain", "ShortText"], - ["range","ShortText"]], - [256, - "Entry", - "test.db.0000100", - "TABLE_HASH_KEY|PERSISTENT", - "ShortText", - "null"], - [257, - "Term", - "test.db.0000101", - "TABLE_PAT_KEY|KEY_NORMALIZE|PERSISTENT", - "ShortText", - "null"]] - -注: 実際は改行が入りません。 +.. groonga-command +.. include:: ../example/commands/table_list.log +.. table_list Added: doc/source/example/commands/table_list.log (+62 -0) 100644 =================================================================== --- /dev/null +++ doc/source/example/commands/table_list.log 2012-06-27 12:01:43 +0900 (daf6a87) @@ -0,0 +1,62 @@ +Execution example:: + + table_list + # [ + # [ + # 0, + # 1337566253.89858, + # 0.000355720520019531 + # ], + # [ + # [ + # [ + # "id", + # "UInt32" + # ], + # [ + # "name", + # "ShortText" + # ], + # [ + # "path", + # "ShortText" + # ], + # [ + # "flags", + # "ShortText" + # ], + # [ + # "domain", + # "ShortText" + # ], + # [ + # "range", + # "ShortText" + # ] + # ], + # [ + # 256, + # "Entries", + # "/tmp/groonga-databases/commands_select.0000100", + # "TABLE_HASH_KEY|PERSISTENT", + # "ShortText", + # "null" + # ], + # [ + # 259, + # "Terms", + # "/tmp/groonga-databases/commands_select.0000103", + # "TABLE_PAT_KEY|KEY_NORMALIZE|PERSISTENT", + # "ShortText", + # "null" + # ], + # [ + # 262, + # "Thesaurus", + # "/tmp/groonga-databases/commands_select.0000106", + # "TABLE_PAT_KEY|KEY_NORMALIZE|PERSISTENT", + # "ShortText", + # "null" + # ] + # ] + # ] -------------- next part -------------- HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...Download