跳到主要内容

getEntityObjectFromResult()

function getEntityObjectFromResult(
metadata,
row,
opts?): Promise<any>;

Defined in: packages/rxdb-adapter-pglite/src/pglite.utils.ts:446

从 PGlite 结果行获取实体对象数据 PGlite 返回行作为对象,主要用于类型转换

Parameters

ParameterTypeDescription
metadataEntityMetadata-
rowany-
opts?EncryptionContext可选加密上下文;当包含 keyring 时,自动解密 envelope 字符串列。 任一列解密失败时,整行拒绝并清空已成功解密的明文(partial-failure policy)。

Returns

Promise<any>