Code

store, frontend: Added support for iterating arrays (using ALL / ANY).
authorSebastian Harl <sh@tokkee.org>
Sun, 9 Nov 2014 09:39:13 +0000 (10:39 +0100)
committerSebastian Harl <sh@tokkee.org>
Sun, 9 Nov 2014 10:38:02 +0000 (11:38 +0100)
commit2ebe67e1b7d71c3e7e9b7ab06944637b143daba9
tree808b51786a44e48bb3d47fada26a539c0ef548b8
parentea5d74f9f19a7a00ed993e6d6a5a5c9e03ab6ff8
store, frontend: Added support for iterating arrays (using ALL / ANY).

Currently, this is limited to the 'backend' field of an object. Also, only
simple statements like 'ANY/ALL <array> <cmp> <value>' are supported by the
store (in contrast to service/metric iterators which support arbitrary
matchers to be applied). Given that matchers are object based, this limitation
should feel natural, though.
src/core/store_lookup.c
src/frontend/analyzer.c
src/frontend/grammar.y