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

NOSQL / ODM Support?

Hi, I've seen that the DB package is tied to SQL DBMS only. Is NoSQL database support planned? Using MongoDb would be very interesting. Thanks



3.1k
Accepted
answer

Sorry, I didn't noticed It has been implemented. Simply awesome. https://docs.phalcon.io/en/0.6.0/reference/odm.html



98.9k

Hi Javier, also, this is the latest documentation https://docs.phalcon.io/en/latest/reference/odm.html :)

is any chance for redis in the same way as mongodb?



98.9k

Well, Redis is a key-value store and MongoDB is a document-oriented store, the JSON style provided by Mongo is more suitable to abstract objects to documents, I'm not clear how the same could be accomplished in a key-value store.

yes right. I love phalcon way of everything, i though about some support for models on KV store engines.