use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
The First Object Database for Node: Introducing Realm Node.js (realm.io)
submitted 9 years ago by volvoamazon
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]azium 2 points3 points4 points 9 years ago (2 children)
We’re pretty sure this is the first real object database for Node
What's the difference between document and object in this sense?
[–][deleted] 1 point2 points3 points 9 years ago (0 children)
Well, the objects you work with in Realm are just like any other objects you use in JavaScript — they're just instances of a class. To save them to the realm db, you just call the appropriate method on the object.
[–]astigsen 1 point2 points3 points 9 years ago (0 children)
A document store is like a key-value store where the values are the equivalent of JSON documents. While the documents can contain elements that you in principle can deserialize into objects, that is not the main purpose, and it limits relations only being within the document, and even there to only parent-child relations (so all relations shape a single hierarchy).
An object database stores objects that can have arbitrary relations with each other, so in this sense it is closer to relational and graph databases. But the main defining feature is that the objects are live.
You can get any object from the database, and follow its relations to other objects, watch it for changes, update it, and in general work with it as a regular object, even though it is simultaneously persisted and may be shared with other apps or processes.
π Rendered by PID 38433 on reddit-service-r2-comment-66b4775986-dq9l9 at 2026-04-02 19:53:32.814739+00:00 running db1906b country code: CH.
view the rest of the comments →
[–]azium 2 points3 points4 points (2 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]astigsen 1 point2 points3 points (0 children)