Hi, all.
I need clarification on queries; when I do a query and it doesn’t find a match, will it throw an error (into the catch section) or simply set totalCount property of the results to 0?
Debugging is a bit difficult on this one.
TIA
Hi, all.
I need clarification on queries; when I do a query and it doesn’t find a match, will it throw an error (into the catch section) or simply set totalCount property of the results to 0?
Debugging is a bit difficult on this one.
TIA
Figured it out; in the “then” section, if results.items.length === 0, it wasn’t found; otherwise, it was found.
Hi abergquist,
I am thankful for the information you posted back. This is helpful.
Aberquist:
Yes you figured it out.
Check out this post for a useful pattern dealing with query and duplicate member records.
Steve