跳到主要内容

envelopePlaintextPatches()

function envelopePlaintextPatches(args): Promise<Record<string, unknown>>;

Defined in: packages/rxdb-adapter-encrypted/src/encrypt-patch.ts:23

遍历明文补丁的顶层键;对于 entity.encryptedPropertyMap 中存在的键, 将值替换为 keyring.encrypt 生成的信封字符串。未加密的键直接复制。

Parameters​

ParameterType
argsPatchWalkArgs

Returns​

Promise<Record<string, unknown>>