Afternoon,
I'm hitting a snag when using the API to find a prefix list where the filter is returning all prefix items containing the q term.
eg:
code is the search term, it is a code identifying an asset, it is 3-6 uppercase a-z.
prefixe = nb.ipam.prefixes.filter(q=code, role='agn')
The issue Im having is it will return multiple prefixes that contain the filter, if I have 3 prefixes with a description ABC, ABCD, ABCDE and search for ABC I will receive all 3 as expected.
Would it be possible to either specify an exact match for the 'q' field or on the description field?
Other than updating over 500 entries with a tag is there some other way I can find the exact item?
Regards
Dean