supporting indexed keys in inq statements