I have a Product model with Tags relation:
class Product
{
public function tags()
{
return $this->belongsToMany('tags')
and
class Tags
{
public function products()
{
return $this->belongsToMany('products')
how can i retrieve products
that have all of tags
with id of [1,2,3]