You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found the reader.IsEmpty method but that actually always returns false, no matter if there are results or not. No idea what the IsEmpty is supposed to do.
My current bet is, that I should use reader.Length() and if it is > 0, there are obviously search items. Is this the correct way?
Many thanks.
The text was updated successfully, but these errors were encountered:
What is the correct way to check if a search found items?
Example (simplified):
I found the
reader.IsEmpty
method but that actually always returns false, no matter if there are results or not. No idea what theIsEmpty
is supposed to do.My current bet is, that I should use
reader.Length()
and if it is> 0
, there are obviously search items. Is this the correct way?Many thanks.
The text was updated successfully, but these errors were encountered: