Re:FerretDB, a truly open-source MongoDB alternative
by nextaccountic on Friday April 14, 2023 @01:19PM
(#35572060)
Since FerretDB is built on top of Postgres, could it be an extension? So that one can mix some FerretDB tables and some general SQL tables in the same database (with proper foreign key constraints between them etc)
[ Parent
| on HN ]
Re:FerretDB, a truly open-source MongoDB alternative
by peterfarkas on Friday April 14, 2023 @02:24PM
(#35572951)
Yes, building an extension is something we are looking at, and I am glad to hear that you would be interested in this kind of mixed use case. Would definitely make things interesting, and more performant.
Re:FerretDB, a truly open-source MongoDB alternative
by nextaccountic on Saturday April 15, 2023 @01:05PM
(#35582428)
Pretty exciting!
What about optionally validating some columns with jsonschema? Perhaps using https://github.com/supabase/pg_jsonschema - is using other postgres extensions supported in FerretDB? (if not, maybe it's feasible to incorporate the code of pg_jsonschema in FerretDB?)
Re:FerretDB, a truly open-source MongoDB alternative
by aleksi on Saturday April 15, 2023 @01:32PM
(#35582663)
Yeah, that's planned: https://github.com/FerretDB/FerretDB/issues/77