I have a collection like the following
array(
'Pinned' =>
array (
'0' =>
array (
'PageId' => '511b6b482284a5481d000000',
'PageTitle' => 'VOIP Business',
),
'1' =>
array (
'PageId' => '511b6b482284a5481d000001',
'PageTitle' => 'Dialers',
),
),
'ReportAbuse' => 0,
)
"Pinned" can contain multiple arrays inside it. I need find those documents that have
'PageId' => '511b6b482284a5481d000000'
inside Pinned.
So i tried
'Pinned' => array(
'PageId' => '511b6b482284a5481d000000'
)
But i didn't work. I hope my question is clear :). Please help me if any one knows the answer. Thanks.