CipherStash
CipherStash Documentation

Exact

Exact supports equality in queries.

Supported Types

An Exact index can be defined on the following types:

Index Definition

Exact indexes can be defined with the "exact" kind in a JSON schema definition:

{
  // (type definition omitted)
  "indexes": {
    "email": { "kind": "exact", "field": "email" }
  }
}

Supported Query Operations

  • eq (equality)

StashJS (TypeScript)

let queryResult = await employees.all(
  employee => employee.email.eq("ada@security4u.example")
)