• Rucha Deodhar's avatar
    MDEV-27911: Implement range notation for json path · c781cefd
    Rucha Deodhar authored
    Range can be thought about in similar manner as wildcard (*) where
    more than one elements are processed. To implement range notation, extended
    json parser to parse the 'to' keyword and added JSON_PATH_ARRAY_RANGE for
    path type. If there is 'to' keyword then use JSON_PATH_ARRAY range for
    path type along with existing type.
    This new integer to store the end index of range is n_item_end.
    When there is 'to' keyword, store the integer in n_item_end else store in
    n_item.
    c781cefd
json_lib.h 13.7 KB