Featured
-
How to solve [MongoError: connect ECONNREFUSED]
Hello Readers, I came across a solution while w
by saroj.singh
Tags
Solution for Invalid Object ID in MongoDb
We usually have this kind of error while making query with mongodb "Uncaught exception 'MongoException' with message 'Invalid object ID'" ,
the main reason behind this kind of error is that :->
a) Id string for mongodb must be 24 hexadecim...
How to make like query in MongoDb
Below is the way you can make like query in MongoDb :
It can basically be achieved by using MongoRegex
$where=array();
if($param['searchfor']!=""){
$regexObj = new MongoRegex("/".$param['searchfor']."/ig");
...
Why use NoSQL over Relational Database - Chapter 1
What is NoSQL?
NoSQL is not a relational database it has been developed keeping in mind few of the drawbacks of relational database. It was developed for the purpose of data stored about users, objects and the frequency in which the data is ac...