I have this type of query and I want to convert it to Laravel eloquent query without having to do a row query or `DB::select`.
This is how the row query looks like

```
Where (user_id = '$from' OR to = '$from') AND (user_id = '$to' OR to = '$to')

```

How do I do this in eloquent? So far I've just done

```
return $query->where('user_id', $from)->orWhere('to', $from)->get();

```

The intention is to get the conversation between two users without getting other users chats.