Skip to content

Is it possible to reduce the number of joins when accessing the pivot table? #397

Answered by roxblnfk
Shelamkoff asked this question in Q&A
Discussion options

You must be logged in to vote

You can make yet another relation like product HasMany product_filters_pivot and use it directly.
BTW your question looks like a good issue for the ManyToMany relation.

I tried calling the join directly from the Cycle\ORM\Select instance. But this way adds a master table prefix before the name of the table to be joined.

Looks like a bug. I need to play with that

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Shelamkoff
Comment options

@roxblnfk
Comment options

@roxblnfk
Comment options

Answer selected by Shelamkoff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants