3 ms·
just wondering why Mongo is considered a part of "JS". Is it because of the MEAN stack?
by ohstopitu 10y ago
just wondering why Mongo is considered a part of "JS". Is it because of the MEAN stack?
- nine_k 10y agoPossibly because of JSON as the storage format.
- koolba 10y agoBecause of JSON and "web scale".
- virmundi 10y agoPart of it is JSON as the storage format. Another part is its Node driver. The whole API fit it well. It understood async programming. It felt JS-like. The input and output were JSON instances. Finally, yea, from what I know of him "web scale" did play part in the decision. Oh those heady days.
- secoif 10y agoFor data that's mostly to do with the the API provided by the particular mongodb driver, than mongodb itself. Mongo stores and transmits BSON, not JSON. Most mongo drivers expose an API that serialises your data to BSON for writes and wraps the BSON data with a JSON-like interface for reads.
- sandGorgon 10y agopostgresql has the jsonb column type which is just as powerful as mongo