Hi,
We want to build a custom app for product management that gets very complex and to reduce data redundancy we want to use MongoDB.
Is it possible to build a custom app in Frappe that can be used with MongoDB as a database?
Hi,
We want to build a custom app for product management that gets very complex and to reduce data redundancy we want to use MongoDB.
Is it possible to build a custom app in Frappe that can be used with MongoDB as a database?
Yes! Refer to the newly introduced Virtual DocType feature:
https://frappeframework.com/docs/user/en/basics/doctypes/virtual-doctype
You can design a class like MongoDBDocument
(child of frappe.model.document.Document
) which implements MongoDB-specific methods. This can then be inherited by the DocTypes you wish to use with MongoDB. You will still need MariaDB / PostgreSQL for standard DocTypes though.
Excellent, Request to share a live example of py files to connect json , csv , mango-db etc , much appreciable by people coming from background like me