Bagaimana saya bisa menggunakan variabel regex dalam kueri untuk mongodb
var stream = collection.find({"FirstName": new RegExp(val)}).stream();
Blushing Beetle
var stream = collection.find({"FirstName": new RegExp(val)}).stream();
var stream = collection.find({"FirstName": new RegExp(val)}).stream();
var stream = collection.find({"FirstName": new RegExp(val)}).stream();
var stream = collection.find({"FirstName": new RegExp(val)}).stream();
var stream = collection.find({"FirstName": new RegExp(val)}).stream();
var stream = collection.find({"FirstName": new RegExp(val)}).stream();
var stream = collection.find({"FirstName": new RegExp(val)}).stream();
var stream = collection.find({"FirstName": new RegExp(val)}).stream();
var stream = collection.find({"FirstName": new RegExp(val)}).stream();
var stream = collection.find({"FirstName": new RegExp(val)}).stream();