Skip to content

Conversation

@nMouginot
Copy link

This PR introduces an optional List? include parameter in the Include class, allowing developers to fetch values from distant relationships (e.g., nested includes).

Example Usage:

final query = Query(
  includes: [
    Include('author', 
        selects: [Select(field: "id"), Select(field: "name"),]
        includes: [Include(relation: "books")],
    ),],
);

@nMouginot nMouginot changed the title Add an includes parameter to the Include class to fetch values from distant relationships Add an Includes parameter to the Include class to fetch values from distant relationships Nov 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants