Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhanced Data Retrieval: Implement Join Conditions #39

Closed
wants to merge 10 commits into from

Conversation

ZaidMaslouhi
Copy link

Description:

This PR introduces join filters for dataui-nestjs-crud, empowering you with greater control over related data queries. Users can now specify WHERE conditions within the ON clause of joins, enabling the creation of more intricate and specific queries.

Key Improvements:

  • Increased Flexibility: Craft complex queries by filtering related entities based on custom conditions.
  • Enhanced Data Retrieval: Retrieve specific subsets of related data, improving efficiency and focus.

Implementation Details:

  • Introduces a new 'ON' property to the QueryJoin interface within @dataui/crud-request.
  • Leverages this property to specify 'ON' conditions for joins.
  • Implements comprehensive unit and integration tests for guaranteed functionality.

Benefits:

  • Simplifies querying related data with precise control.
  • Enables more efficient and targeted data retrieval.
  • This PR elevates dataui-nestjs-crud's capabilities by empowering you with flexible join filtering.

#38

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.

1 participant