A proof of concept MongoDB clone built on Postgres
1–10 of 51 posts
Re: A proof of concept MongoDB clone built on Postgres
#2Re: A proof of concept MongoDB clone built on Postgres
#3Re: A proof of concept MongoDB clone built on Postgres
#4Why?
Which leads to a question for the OP: does this work with mongoose.js?
Re: A proof of concept MongoDB clone built on Postgres
#5Re: A proof of concept MongoDB clone built on Postgres
#6For those who aren't aware, Postgres currently lacks support for doing updates to JSON fields via SQL[1]. For many this isn't a problem, but I'd imagine that people expecting a MongoDB clone would need it.
[1] But even though you can individually address the various fields within the JSON document, you can’t update a single field. Well, actually you can, but by extracting the entire JSON document out, appending the new values and writing it back, letting the JSON parser sort out the duplicates. https://blog.compose.io/is-postgresql-your-next-json-databas...
Re: A proof of concept MongoDB clone built on Postgres
#7But then I saw that this project started two years ago, and the last commit was a year ago.
Re: A proof of concept MongoDB clone built on Postgres
#8I was going to post that this would have been cool a year ago, but now that MongoDB has interchangeable backends there's not much to gain from a high level project like this. But then I saw that this project started two years ago, and the last commit was a year ago.
Do you have a source on this? I can't find anything at the moment but it sounds familiar.
Re: A proof of concept MongoDB clone built on Postgres
#9I was going to post that this would have been cool a year ago, but now that MongoDB has interchangeable backends there's not much to gain from a high level project like this. But then I saw that this project started two years ago, and the last commit was a year ago.
| MongoDB has interchangeable backends Do you have a source on this? I can't find anything at the moment but it sounds familiar.
Re: A proof of concept MongoDB clone built on Postgres
#10How are JSON updates handled? For those who aren't aware, Postgres currently lacks support for doing updates to JSON fields via SQL[1]. For many this isn't a problem, but I'd imagine that people expecting a MongoDB clone would need it. [1] But even though you can individually address the various fields within the JSON document, you can’t update a single field. Well, actually you can, but by extracting the entire JSON…