I'm trying to achieve this:
->join( 'table_a', function( $join ) use( $ids) { $join ->on( 'table_b.id', '=', 'table_a.join_id' ) ->whereRaw( 'table_a.join_id IN ( implode( ',', $ids ) )' ) ; } )
The problem is there is no whereRaw or whereIn in the JoinClause class.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community