Skip to content

Nested Relation resulting in Error on Wrong column name #1897

@andreastihor

Description

@andreastihor

So i have 6 table which is table O and has sequential relation of a b c d e
and then I want to access table e value from O i use .Relation
but when I do O.Relation("a.b.c.d.e")
it gives me the wrong column name error which is cannot find column a_b_c_d_ti while the column itself should be title
and when i look at the generated query, it works just fine

Any idea how to solve this? it seems the maximum .Relation() table of go PG still stucks at 3?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions