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?