Mongoose find to match id with values stored as comma separated string
Mongoose find to match id with values stored as comma separated string

Mongoose query (find) to match id with values stored as comma separated string in MongoDB Assuming that we have stored the values into db is like [ { "tags": "fun,game,reading,photography" }, { "tags": "politics,game,workout,photography" }, { "tags": "programming,photography,business" } ] Model: Customer Customer.find({$where : 'this.categoryid.indexOf("' + categoryId + '") != -1'}); Originally posted Here

Phpmyadmin [sql.lib.php] PHP 7.2+Ubuntu 18.04 Fix!
Phpmyadmin [sql.lib.php] PHP 7.2+Ubuntu 18.04 Fix!

Phpmyadmin [sql.lib.php] + PHP 7.2 + Ubuntu 18.04 | Fix Bug When PHP 7.2 comes into market, There are many incompitable scenario can be seen. Meanwhile I meet a situation after installing latest verison of PHP that is 7.2. Installed PHPmyAdmin on my aws server. After loggin into phpmyadmin it is showing a warning showing... » read more