Skip to content

withSchema and eager joins #51

@bs1180

Description

@bs1180

Thanks for the new version. While withSchema works on solo queries, is there a way to pass it through to subsequent eager joins?

Eg. User.query().withSchema('1').eager('tasks') correctly uses schema 1 when selecting all users, but the second query to get the tasks doesn't have it. I realise that automatically using the same schema might not always be desired though, if you're doing some sort of cross-schema query. Is there a way to set it easily?

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