Hacker News new | ask | show | jobs
by ganderzz 1176 days ago
Hey, author here! Thanks for the feedback! I went back and forth with having `data` being a JSONB field or VARCHAR, but ended up with VARCHAR to show that `nodes` don't have to be anything crazy. Really `nodes` is just a standard table you'd see in any old SQL database, and what makes it a "graph" is the `edges`/relationship table.
1 comments

Are JSON fields "crazy"? That seems like a myth that should be dispelled. To me, "crazy" is making your `data` field unstructured text.