whereRelation method

Query<T> whereRelation(
  1. String relationPath,
  2. void callback(
    1. Query q
    )
)

---------- WHERE RELATION (JUST CALLBACK) ----------

Implementation

Query<T> whereRelation(
  String relationPath,
  void Function(Query<dynamic> q) callback,
) {
  return whereHas(relationPath, callback);
}