Thread
#exposed
    tjohnn

    tjohnn

    3 years ago
    Just curious, from docs on eager loading:
    Exposed can eager load them at the time of the parent query, this is prevents the classic "N+1" problem as references can be aggregated and loaded in a single query
    Does it mean only one query would be made to database to query the parent and its child references?
    tapac

    tapac

    3 years ago
    No, each reference will be loaded by separate query.
    tjohnn

    tjohnn

    3 years ago
    Okay I see