File: index-3.log

package info (click to toggle)
groonga 9.0.0-1%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 101,496 kB
  • sloc: ansic: 608,707; ruby: 35,042; xml: 23,643; cpp: 10,319; sh: 7,453; yacc: 5,968; python: 3,033; makefile: 2,609; perl: 133
file content (20 lines) | stat: -rw-r--r-- 1,119 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Execution example::

  table_create --name User --flags TABLE_HASH_KEY --key_type ShortText
  # [[0, 1337566253.89858, 0.000355720520019531], true]
  column_create --table User --name username --flags COLUMN_SCALAR --type ShortText
  # [[0, 1337566253.89858, 0.000355720520019531], true]
  column_create --table User --name friends --flags COLUMN_VECTOR --type User
  # [[0, 1337566253.89858, 0.000355720520019531], true]
  column_create --table User --name index_friends --flags COLUMN_INDEX --type User --source friends
  # [[0, 1337566253.89858, 0.000355720520019531], true]
  load --table User
  [
  {"_key":"ken","username":"健作","friends":["taro","jiro","tomo","moritapo"]}
  {"_key":"moritapo","username":"森田","friends":["ken","tomo"]}
  {"_key":"taro","username":"ぐるんが太郎","friends":["jiro","tomo"]}
  {"_key":"jiro","username":"ぐるんが次郎","friends":["taro","tomo"]}
  {"_key":"tomo","username":"トモちゃん","friends":["ken","hana"]}
  {"_key":"hana","username":"花子","friends":["ken","taro","jiro","moritapo","tomo"]}
  ]
  # [[0, 1337566253.89858, 0.000355720520019531], 6]