[英]MongoDB driver PHP interaction with Mongo driver for PHP
I am currently using the MongoDB driver for PHP: 我目前正在将MongoDB驱动程序用于PHP:
http://php.net/manual/en/set.mongodb.php http://php.net/manual/zh/set.mongodb.php
However I would also like to be able to use the legacy driver (Mongo for PHP) for compatibility purposes: 但是我也希望能够使用旧版驱动程序(Mongo for PHP)以实现兼容性:
http://php.net/manual/en/book.mongo.php http://php.net/manual/zh/book.mongo.php
Is there any way that I could use both at the same time in the same PHP script? 有什么办法可以在同一PHP脚本中同时使用两者?
唯一的可能是使用包装器,您可以在此处找到一些东西PHP MongoDB Frameworks
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.