property MemoryTenantDataStoreOptions.generateId

Generate a unique identifier for new records when data.id is not a string or number. Defaults to a monotonic counter ('1', '2', …).

Type

() => string

Usage

import { type MemoryTenantDataStoreOptions } from "multi-tenancy-plugin/src/index.ts";