跳到主要内容

WriteEntranceRequest

Defined in: packages/rxdb-plugin-working-tree/src/working-tree/write-entry-matrix.ts:75

交给 classifyWriteEntrance 的一次写

Remarks​

入口身份与列集缺一不可:只有入口表达不了矩阵行 4,只有列集表达不了行 6 与行 9 的相反结论。

Properties​

capabilityEnabled​

readonly capabilityEnabled: boolean;

Defined in: packages/rxdb-plugin-working-tree/src/working-tree/write-entry-matrix.ts:98

这个数据库启用提交能力了吗


columns​

readonly columns: WriteColumns;

Defined in: packages/rxdb-plugin-working-tree/src/working-tree/write-entry-matrix.ts:86

这次写碰了哪些列


entrance​

readonly entrance:
| "unknown"
| "crud"
| "domain_recompute"
| "remote_entity_apply"
| "cleanup_expired"
| "projection_rewrite"
| "metadata_only_prefetch"
| "query_cache_maintenance"
| "raw_write"
| "bulk_write"
| "notify_external_update";

Defined in: packages/rxdb-plugin-working-tree/src/working-tree/write-entry-matrix.ts:77

谁在写


operation​

readonly operation: WriteOperation;

Defined in: packages/rxdb-plugin-working-tree/src/working-tree/write-entry-matrix.ts:83

写的是哪一种操作


targetClass​

readonly targetClass: "versioned" | "query_cache" | "system";

Defined in: packages/rxdb-plugin-working-tree/src/working-tree/write-entry-matrix.ts:80

写的是哪一类表


untrackedFields​

readonly untrackedFields: readonly string[];

Defined in: packages/rxdb-plugin-working-tree/src/working-tree/write-entry-matrix.ts:95

目标表上不构成业务净变化的列名

Remarks​

由调用方从 VersionedDomainView.untrackedFieldsOf() 取来注入。判定自带一份就是在建 spec.md 明令禁止的第二份清单。