We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

phql for mongodb

Hello,

Does phalcon phql support for mongodb ? Below commend is not working.

$this->mongo->query("db.$table.remove()");

Can you please suggest me how it should work ?

Raja K



13.2k

Hi,

The link does not mention anything about PHQL for mongodb. Can you please correct me if I am wrong ?

Raja K

edited May '16

As it seems, PHQL is built to abstract classic RDBMS only. On the other hand, as we all know MongoDB is NoSQL based database.

The ODM offers a CRUD functionality, events, validations among other services.