0
{_id : ObjectId(...), name : "name", ids : [44, 1, 9, 11, 15, 66]}
如何删除,例如15
形式ids
???
这可能使用$pull
http://docs.mongodb.org/manual/reference/operator/update/pull/?
尔康文档http://docs.phalconphp.com/en/latest/reference/odm.html#creating-updating-records
真的不知道,因为我不使用。但是,当您深入了解集合接口文档时,似乎有一个['getConnection()'](http://docs.phalconphp.com/en/latest/api/Phalcon_Mvc_Collection.html)方法。这似乎从依赖注入接口获得底层驱动程序连接。一旦你有标准的驱动程序连接,那么你应该能够使用所有支持的方法[那里](http://www.php.net/manual/en/class.mongodb.php) –