List of flags describing behavior specific to different connectors and repository implementations. These flags are used by the test suite to tweak assertions and skip tests for scenarios not supported by some implementations.
export interface CrudFeatures
|emptyValue||undefined | null||The value used by the database to store properties set to
|freeFormProperties||boolean||Does the database (or the connector) require a fixed schema, or can it support additional (free-form) properties? SQL databases typically don’t support free-form properties.Default:
|hasRevisionToken||boolean||Does the connector have the revision token for replacement operations? (Cloudant)Default:
|idType||‘string’ | ‘number’||What type is used for auto-generated primary keys? - SQL databases typically use auto-incremented numbers, - NoSQL databases tend to use GUID/UUID strings.Default:
|supportsInclusionResolvers||boolean||Does the repository provide
|supportsTransactions||boolean||Does the connector support using transactions for performing CRUD operations atomically and being able to commit or rollback the changes? SQL databases usually support transactionsDefault: