DEV Community

Discussion on: Use relational database as document database: get the best of both worlds

Collapse
darkain profile image
Vincent Milum Jr

Modern "relational" databases natively support JSON data as well, and this can be used along side existing schema based data.

mariadb.com/kb/en/json-data-type/
mariadb.com/kb/en/json-functions/

Collapse
niolap profile image
Nicolas Penot Author

Indeed Vincent. But the idea here is that you don't have to define a data model at all. The database will cast your JSON in tables transparently. Thus you can have the benefit of a document database with the benefit of a relational database.
Have you ever use Mongodb in a project?