v.25.10Improvement
Function hasToken now returns zero matches
Function hasToken now returns zero matches for the empty token (whereas this previously threw an exception). #87564 (Jimmy Aguilar Mena).Why it matters
This change improves the robustness of thehasToken function by preventing exceptions caused by empty tokens, ensuring smoother query execution and better error handling when token inputs are empty.How to use it
Users can simply use thehasToken function as before. When providing an empty string as the token argument, the function will now return zero matches instead of causing an error, requiring no additional action.