I have mongo record as follows.
[1] => Array
(
[_id] => MongoId Object
(
)
[id] => 195197
[rec] => Array
(
[0] => Array
(
[id] => 195197
[data] => ways to skin a cat
[total] => 313
)
[1] => Array
(
[id] => 702724
[data] => 2010-07-25 15:09:40
)
)
[rec2] => Array
(
[0] => Array
(
[id] => 195197
[data] => ways to skin a cat
[total] => 313
)
[1] => Array
(
[id] => 702724
[data] => 2010-07-25 15:09:40
)
)
);
I want to search those records from mongo db having rec & rec2 element and having "data" element is in date format through Mongo regular expression. Is any way to find such records?