Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: