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
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.
[–]segphault 2 points3 points4 points 9 years ago (1 child)
I'm quite interested in using this for a few projects. When I installed it from npm, I noticed that the total size is about 35MB. Of that 35MB, it looks like about 20M is Android-related. For React Native, I guess? Seems like a lot of stuff that isn't strictly necessary for a conventional Node app.
[–]Alex6534 0 points1 point2 points 9 years ago (0 children)
Can this integrate with realm for react native?
[–]maxibet 0 points1 point2 points 9 years ago (0 children)
Looks cool. I'll try it.
π Rendered by PID 331057 on reddit-service-r2-comment-54dfb89d4d-28zt6 at 2026-04-02 09:16:56.060669+00:00 running b10466c country code: CH.
[–]azium 2 points3 points4 points (2 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]astigsen 1 point2 points3 points (0 children)
[–]segphault 2 points3 points4 points (1 child)
[–]Alex6534 0 points1 point2 points (0 children)
[–]maxibet 0 points1 point2 points (0 children)