r/programming • u/craigkerstiens • Jul 05 '26
Understanding Postgres 19 Property Graphs
https://neovintage.org/posts/postgres-property-graphs/
34
Upvotes
r/programming • u/craigkerstiens • Jul 05 '26
View all comments
0
u/Isogash Jul 06 '26
Relational tables are not entities, they are hyper-edges in a hyper-graph that associate entities with each other, and with attributes describing information about them. That's why they are called "relations" and not nodes. The nodes are the IDs and attribute values themselves.
So really, this is inverted over the given graph query:
(code)<-[drivers]->(driver)<-[results]->(points)