WhereClause.equals()

Syntax

table.where(indexOrPrimKey).equals(key)

Parameters

indexOrPrimKey: StringName of an index or primary key registered in Version.stores()
keyKey to compare with. The key MUST be a number, string, Date, ArrayBuffer, typed array (such as Uint8Array) instance or Array<number | string | Date | ArrayBuffer | ArrayBufferView>. Booleans, null, undefined and Objects are not accepted as valid keys. String comparisons are case sensitive.

Return Value

Collection

Table of Contents