ciao!

scusate ma non sapevo come indicare quello che mi serve.
in sostanza questa è la query:
codice:
SELECT *
FROM mp_giacenze_attr
         INNER JOIN mp_giacenze ON giac_id = gattr_giac_id
WHERE giac_feed = 'pf'
  AND gattr_chiave = 'gross_weight'
  AND (gattr_valore = ''
    OR gattr_valore = 0)
in codice php sono arrivo fino alla condizione che sta nelle parentesi.
come la metto quella??
codice:
$query = MpGiacenzaAttr::query()
  ->join('mp_giacenze', 'giac_id', '=', 'gattr_giac_id')
  ->where('giac_feed', $feed)
  ->where('gattr_chiave', $chiave)
  //->where('gattr_valore', $feed)
  ->get();