Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
180 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| register table/table | ||
| [[0,0.0,0.0],true] | ||
| table_create Diaries TABLE_PAT_KEY ShortText | ||
| [[0,0.0,0.0],true] | ||
| column_create Diaries title COLUMN_SCALAR ShortText | ||
| [[0,0.0,0.0],true] | ||
| column_create Diaries tags COLUMN_VECTOR ShortText | ||
| [[0,0.0,0.0],true] | ||
| load --table Diaries | ||
| [ | ||
| {"_key":"2012-08-14", "title": "'get' command is moved!", "tags": ["groonga", "development"]}, | ||
| ] | ||
| [[0,0.0,0.0],1] | ||
| get Diaries '2012-08-14' 'title, _key, tags' | ||
| [ | ||
| [ | ||
| 0, | ||
| 0.0, | ||
| 0.0 | ||
| ], | ||
| [ | ||
| [ | ||
| [ | ||
| "title", | ||
| "ShortText" | ||
| ], | ||
| [ | ||
| "_key", | ||
| "ShortText" | ||
| ], | ||
| [ | ||
| "tags", | ||
| "ShortText" | ||
| ] | ||
| ], | ||
| [ | ||
| "'get' command is moved!", | ||
| "2012-08-14", | ||
| [ | ||
| "groonga", | ||
| "development" | ||
| ] | ||
| ] | ||
| ] | ||
| ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| register table/table | ||
| table_create Diaries TABLE_PAT_KEY ShortText | ||
| column_create Diaries title COLUMN_SCALAR ShortText | ||
| column_create Diaries tags COLUMN_VECTOR ShortText | ||
|
|
||
| load --table Diaries | ||
| [ | ||
| {"_key":"2012-08-14", "title": "'get' command is moved!", "tags": ["groonga", "development"]}, | ||
| ] | ||
| get Diaries '2012-08-14' 'title, _key, tags' |