Skip to content

Support per-operation database selection using IsDatabaseModel #1660

@laylatichy

Description

@laylatichy

Description

When using multiple databases it's not possible to specifically set which database queries built by IsDatabaseModel should target

On My test project I forked that trait and added $database param to methods but maybe you will think of something better
Or maybe add handling OnDatabase trait

Benefits

allow for multi database setup when using IsDatabaseModel

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions