Re:Homebrew removes MongoDB from core formulas
by mateuszf on Tuesday September 03, 2019 @01:44AM
(#20863974)
Yes you can - this is an article crated in 2017 https://www.idalko.com/crud-operations-postgres-jsonb/
Re:Homebrew removes MongoDB from core formulas
by scarface74 on Tuesday September 03, 2019 @05:08AM
(#20864824)
From the article,
The problematic part with PostgresSQL JSONB is modifying a JSONB column content. In any case, we totally replace the old content by a new one. So, the update operations turn to the complex queries that can lose the content. You can avoid this by performing the full JSON reorganization before the persistent operation.
You still don’t have the richness of MongoQuery and the aggregation framework and the tooling around working with JSON data isn’t there. Let alone the native driver support.
Re:Homebrew removes MongoDB from core formulas
by goatinaboat on Tuesday September 03, 2019 @03:31AM
(#20864348)
Postgres is better than Mongo for all of Mongo’s use cases, and 100 others besides, why wouldn’t you use it?
Re:Homebrew removes MongoDB from core formulas
by scarface74 on Tuesday September 03, 2019 @05:12AM
(#20864841)
Including the Mongo aggregation framework, tooling, driver support, in the case I mentioned LINQ support, various reporting packages, etc?
Not to mention the LINQ driver....
And you can’t do updates on individual JSON fields in Postgres.