by chrisan · 9y ago · 0 comments
Isn't the R in ORM for relational?
> Isn't the R in ORM for relational?
I spoke about the nested structs. You can have nested structs for something else than relational mapping.
As I replied to masklinn , I was not sure how to qualify godb, and I admit that ORM is not a perfect qualifier.
No, ORM means Object Relational Mapper. if your ORM doesn't support relations between tables, then it is not a ORM.
Given a relationship between 2 tables, an ORM will at the very least fetch related records when rows from a table are loaded.
> godb does not manage relationships like Active Record or Entity Framework,
Godb is therefore NOT an ORM. The title is misleading. People can't just make up definitions like that. It's either an ORM or it is not.
Godb looks like a simple query builder.
There's no relationship between 2 tables. You're probably referring to foreign keys, but these are just constraints, not relationships in the sense you're alluding in your comment.
Yeah I already said that: https://news.ycombinator.com/item?id=13184341