Sha256: 2e1728188c07d1661a1e1a0e8853964d40e9b93a17fa2a87364f7281539aa0dc

Contents?: true

Size: 1.58 KB

Versions: 5

Compression:

Stored size: 1.58 KB

Contents

Execution example::

  table_create Users TABLE_HASH_KEY ShortText
  # [[0, 1337566253.89858, 0.000355720520019531], true]
  column_create Users age COLUMN_SCALAR UInt32
  # [[0, 1337566253.89858, 0.000355720520019531], true]
  load --table Users
  [
  {"_key": "alice", "age": 18},
  {"_key": "bob",   "age": 20}
  ]
  # [[0, 1337566253.89858, 0.000355720520019531], 2]
  select Users --query age:=19 --query_flags ALLOW_COLUMN|ALLOW_UPDATE
  # [
  #   [
  #     0, 
  #     1337566253.89858, 
  #     0.000355720520019531
  #   ], 
  #   [
  #     [
  #       [
  #         2
  #       ], 
  #       [
  #         [
  #           "_id", 
  #           "UInt32"
  #         ], 
  #         [
  #           "_key", 
  #           "ShortText"
  #         ], 
  #         [
  #           "age", 
  #           "UInt32"
  #         ]
  #       ], 
  #       [
  #         1, 
  #         "alice", 
  #         19
  #       ], 
  #       [
  #         2, 
  #         "bob", 
  #         19
  #       ]
  #     ]
  #   ]
  # ]
  select Users
  # [
  #   [
  #     0, 
  #     1337566253.89858, 
  #     0.000355720520019531
  #   ], 
  #   [
  #     [
  #       [
  #         2
  #       ], 
  #       [
  #         [
  #           "_id", 
  #           "UInt32"
  #         ], 
  #         [
  #           "_key", 
  #           "ShortText"
  #         ], 
  #         [
  #           "age", 
  #           "UInt32"
  #         ]
  #       ], 
  #       [
  #         1, 
  #         "alice", 
  #         19
  #       ], 
  #       [
  #         2, 
  #         "bob", 
  #         19
  #       ]
  #     ]
  #   ]
  # ]

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rroonga-2.1.2-x86-mingw32 vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_update.log
rroonga-2.1.1-x86-mingw32 vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_update.log
rroonga-2.1.0-x86-mingw32 vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_update.log
rroonga-2.0.8-x86-mingw32 vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_update.log
rroonga-2.0.7-x86-mingw32 vendor/local/share/doc/groonga/source/example/reference/commands/select/query_flags_allow_update.log