PHP MongoDB Search in array -
i've been put in rather odd situation. document style.
{ _id: objectid("4ff642fcc33203be3ba36e39"), agents: { 1: "sharon57 braveheart", 2: "xojessxo pexie", 3: "krisxsee ronas", 4: "consualo resident" }, estates: [ "surreal" ], lead: "allyson breumann" }
$team = $db->teams->findone(array("agents" => $ownername)); used return document above. returns null. can search lead , works fine. new new bug in mongodb update? version 2.4.1
Comments
Post a Comment