Mongodb filter relation

$data = Transaction::find()->with(['customer');

I want to filter customer name, I have tried ->where('like', 'customer.name', 'andy') not worked.
how to achieve this?