HAYASHI Kentaro
null+****@clear*****
Wed Dec 25 16:58:27 JST 2013
HAYASHI Kentaro 2013-12-25 16:58:27 +0900 (Wed, 25 Dec 2013) New Revision: bcf3a0f66287d1baf5eb4b96c97e6f1260e2c698 https://github.com/groonga/groonga/commit/bcf3a0f66287d1baf5eb4b96c97e6f1260e2c698 Message: doc: add missing example Modified files: doc/source/reference/functions/between.txt Modified: doc/source/reference/functions/between.txt (+16 -2) =================================================================== --- doc/source/reference/functions/between.txt 2013-12-25 16:58:10 +0900 (47e9783) +++ doc/source/reference/functions/between.txt 2013-12-25 16:58:27 +0900 (3b63dc4) @@ -25,8 +25,22 @@ Syntax Usage ----- -Here are a schema definition and sample data to show usage. - +Here are a schema definition and sample data to show usage.:: + + table_create Users TABLE_HASH_KEY ShortText + column_create Users age COLUMN_SCALAR Int32 + table_create Ages TABLE_HASH_KEY Int32 + column_create Ages user_age COLUMN_INDEX Users age + load --table Users + [ + {"_key": "Alice", "age": 12}, + {"_key": "Bob", "age": 13}, + {"_key": "Calros", "age": 15}, + {"_key": "Dave", "age": 16}, + {"_key": "Eric", "age": 20} + {"_key": "Frank", "age": 21} + ] + .. groonga-command .. table_create Users TABLE_HASH_KEY ShortText .. column_create Users age COLUMN_SCALAR Int32 -------------- next part -------------- HTML����������������������������...Download