UserNames search by wildcard

Is there a way to search and get users by usernames with wildcard?

Usecase: To send a friend request by username, I want to show a list of users which are closely matching with provided name. So that user can pick right one and send friend request.

I tried adding * or % in prefix and/or suffix but it’s not working in function Heroic Labs Documentation | Unity/.Net

In Nakama console it says use % for wildcard search, but it’s not working

I am using Postgres database and golang server routine

Hello @surajTLabs,

Currently wildcard search is only available in the console UI, it should work if the % wildcard is used as a prefix or suffix.

It is not supported in the usersGetUsername APIs.