Skip to content

Extend find method with recursive join statement. #29

@piotrkowalczuk

Description

@piotrkowalczuk

Right now, with schema like A 1-n B 1-n C. Joining from C to A through B is not possible. So expression like:

filter := &model.CFindExpr{
            Offset:  req.Offset,
            Limit:   req.Limit,
            OrderBy: []model.RowOrder{model.RowOrder{Name: "id"}},
            JoinB: &model.BJoin{
                Fetch: true,
                Kind:  model.JoinInner,
                JoinA: &model.AJoin{
                    Fetch: true,
                    Kind:  model.JoinInner,
                },
            },
        }

will not fetch object A.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions