requiresJoin property

bool get requiresJoin

Whether this relation requires a JOIN to fetch.

Implementation

bool get requiresJoin =>
    type == RelationType.oneToMany ||
    type == RelationType.manyToMany ||
    type == RelationType.oneToOne;