Closed Ale1ster closed 3 years ago
Originally all the query methods referenced field names, but it clearly states indexName
in my documentation 🤦♂️, that's a complete oversight.
Thanks for the report. I'll fix this on the V3 branch, as well as new V4 version on master that will contain some other backward incompatible changes.
This should be good now with both v3 and v4 (master).
Thanks
When a struct has an index defined on a field whose name does not match the field name, the specified index name is not respected:
In the above struct, the query
fails with the error
The index IdxDivision does not exist
, while the queryis executed successfully.
This behaviour is observed against tag
v1.0.0
(commit hash8addb9d
), but the same should be observed inv3.0.0
(2b6764d
) tag as well.