Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Discussion options

You must be logged in to vote

I've added this in https://github.com/SeaQL/sea-orm/pull/2757/files

    // join path:
    // one -> two -> three -> four -> five
    //     -> six
    let (one, two, three, four, five, six) = one::Entity::find()
        .find_also(one::Entity, two::Entity)
        .find_also(two::Entity, three::Entity)
        .find_also(three::Entity, four::Entity)
        .find_also(four::Entity, five::Entity)
        .find_also(one::Entity, six::Entity)
        .one(db)
        .await?
        .unwrap();

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@antoinelanco
Comment options

@tyt2y3
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by tyt2y3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants