Hello,
I'd like to perform a text-search when querying datas from MongoDB.
Actually, Iter.to_list(DbSet.iterator(/users/players[name=="Hugo"; order -date])) will returns all players with name "Hugo".
I want to be able to retrieve all players with the "Hugo" string contained in their name.
If there's an "Charles-Hugo" I want to be able to retrieve him too.
Hello, I'd like to perform a text-search when querying datas from MongoDB.
Actually,
Iter.to_list(DbSet.iterator(/users/players[name=="Hugo"; order -date]))
will returns all players with name "Hugo".I want to be able to retrieve all players with the "Hugo" string contained in their name. If there's an "Charles-Hugo" I want to be able to retrieve him too.
Any idea ? Can I use regexs ?
Thanks =)