Sha256: a8d3f014e9d1c0611ac9ff3e9c3edd4700795c2a2c863f0ca0933f06a2070ad1

Contents?: true

Size: 994 Bytes

Versions: 5

Compression:

Stored size: 994 Bytes

Contents

Execution example::

  select Entries --filter 'n_likes == (_id == 1 ? 5 : 3)'
  # [
  #   [
  #     0, 
  #     1337566253.89858, 
  #     0.000355720520019531
  #   ], 
  #   [
  #     [
  #       [
  #         3
  #       ], 
  #       [
  #         [
  #           "_id", 
  #           "UInt32"
  #         ], 
  #         [
  #           "_key", 
  #           "ShortText"
  #         ], 
  #         [
  #           "content", 
  #           "Text"
  #         ], 
  #         [
  #           "n_likes", 
  #           "UInt32"
  #         ]
  #       ], 
  #       [
  #         4, 
  #         "Good-bye Senna", 
  #         "I migrated all Senna system!", 
  #         3
  #       ], 
  #       [
  #         5, 
  #         "Good-bye Tritonn", 
  #         "I also migrated all Tritonn system!", 
  #         3
  #       ], 
  #       [
  #         1, 
  #         "The first post!", 
  #         "Welcome! This is my first post!", 
  #         5
  #       ]
  #     ]
  #   ]
  # ]

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/grn_expr/script_syntax/simple_control_syntax_ternary_operator.log
rroonga-2.1.1-x86-mingw32 vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_control_syntax_ternary_operator.log
rroonga-2.1.0-x86-mingw32 vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_control_syntax_ternary_operator.log
rroonga-2.0.8-x86-mingw32 vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_control_syntax_ternary_operator.log
rroonga-2.0.7-x86-mingw32 vendor/local/share/doc/groonga/source/example/reference/grn_expr/script_syntax/simple_control_syntax_ternary_operator.log