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

add relationships on same table examples #30

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

faeby
Copy link

@faeby faeby commented May 30, 2023

As requested in rappasoft/laravel-livewire-tables#1190, this is an attempt to add examples for relationships on the same table.

These examples are interesting because they show the behavior for:

  • a relationship that is on the same table that the original queried model
  • a relationship of the first relation on the same table

So we have a base table and 2 relationships from the same origin.

This PR is a draft because it will generate an SQL until the PR in the package repository is merged.

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