dongyuandou2521 2015-07-21 14:55
浏览 102
已采纳

有没有办法在同一个MongoDB或MySQL项目中使用? [关闭]

I'm a young developer and I've finished yesterday the structure of my new cms created for practice and my question is: Is possible to use MongoDB and MySQL for the same project?

Example: In the config I want to enable MySQL with pdo and disable MongoDB or enable MongoDB and disable MySQL.

For MySQL: $db->query("SELECT * FROM users");

For MongoDB: $db->users->find()

It's possible or there is a function to use the same syntax for get data from MySQL or MongoDB?

  • 写回答

2条回答 默认 最新

查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 fluent的在模拟压强时使用希望得到一些建议
  • ¥15 STM32驱动继电器
  • ¥15 Windows server update services
  • ¥15 关于#c语言#的问题:我现在在做一个墨水屏设计,2.9英寸的小屏怎么换4.2英寸大屏
  • ¥15 模糊pid与pid仿真结果几乎一样
  • ¥15 java的GUI的运用
  • ¥15 Web.config连不上数据库
  • ¥15 我想付费需要AKM公司DSP开发资料及相关开发。
  • ¥15 怎么配置广告联盟瀑布流
  • ¥15 Rstudio 保存代码闪退