db.projects.find()
{
"_id" : ObjectId("508d4028e60d8c2154a2eb36"),
"date" : NumberLong(1351432927),
"deadline" : "2012-12-31",
"payment" : "100500",
"title" : "Project",
"userid" : ObjectId("5083677d2f5c849509c3aae6")
}
好的,但在PHP print_r($find_result)
中根本没有显示关键字“ date ”!
为什么?我如何从PHP中NumberLong()
中提取价值?