ModelDatabaseConditionQuery.arrayContainsAny constructor

const ModelDatabaseConditionQuery.arrayContainsAny(
  1. Object key
)

A filter that checks whether the array in the data contains one of the array values.

データ中の配列に配列のいずれかの値が含まれているかどうかをチェックするフィルター。

Base class for creating queries to access the database.

If a list exists on CollectionModelPath.query, only the conditions specified there are queryable.

If you use FirebaseDataConnect, this is required; if you use Firestore, RealtimeDatabase, or LocalDatabase, it is not necessary.

データベースへのアクセスを行うクエリを作成するためのベースクラスです。

CollectionModelPath.query上のでリストが存在している場合、そこで指定されている条件のみがクエリ可能となります。

FirebaseDataConnectを利用する場合、こちらの指定は必須となります。FirestoreやRealtimeDatabase、LocalDatabaseを利用する場合は特に必要ありません。

Implementation

const ModelDatabaseConditionQuery.arrayContainsAny(Object key)
    : this._(
        type: ModelDatabaseQueryFilterType.arrayContainsAny,
        key: key,
      );