Debian Codegraph @

test/command/suite/select/function/between/with_index/without_borders.test

raw
1 table_create Users TABLE_HASH_KEY ShortText
2 column_create Users age COLUMN_SCALAR Int32
3
4 table_create Ages TABLE_PAT_KEY Int32
5 column_create Ages users_age COLUMN_INDEX Users age
6
7 load --table Users
8 [
9 {"_key": "alice", "age": 17},
10 {"_key": "bob", "age": 18},
11 {"_key": "calros", "age": 19},
12 {"_key": "dave", "age": 20},
13 {"_key": "eric", "age": 21}
14 ]
15
16 #@add-important-log-levels info
17 #@add-ignore-log-pattern /\A\[io\]/
18 log_level --level info
19
20 select Users --filter 'between(age, 18, 20)'
21
22 log_level --level notice
23 #@remove-ignore-log-pattern /\A\[io\]/
24 #@remove-important-log-levels info