Skip to content

docs: use alias instead of aliasedTable for self-joins #541

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shawnlikescode
Copy link

docs: Use alias instead of aliasedTable for self-joins

This PR corrects the documentation for table aliases and self-joins in src/content/docs/joins.mdx.

The previous example incorrectly used aliasedTable, which is intended for the Relational Query Builder (RQB) API, leading to confusion and potential type errors (as reported in #2989).

This change replaces aliasedTable with the correct alias function for standard query building, aligning the documentation with the intended usage and resolving the issue reported.

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