Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to check if a string is sub from a field in mongodb

db.users.findOne({"username" : {$regex : "son"}});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #string #field #mongodb
ADD COMMENT
Topic
Name
6+3 =