跳到主要内容

transaction_sqlite_result()

function transaction_sqlite_result<T>(
adapter,
EntityType,
sqliteSuccessResult,
forcedUpdate?,
skipCreate?): Promise<InstanceType<T>[]>;

Defined in: packages/rxdb-adapter-sqlite-core/src/transaction_sqlite_result.ts:15

处理 SQLite 事务结果,返回实体数组

Type Parameters

Type Parameter
T extends EntityType

Parameters

ParameterTypeDefault valueDescription
adapterRxDBAdapterSqliteBaseundefined-
EntityTypeTundefined-
sqliteSuccessResultSqliteSuccessResultundefined-
forcedUpdatebooleanfalse-
skipCreatebooleanfalse跳过创建新实体(仅更新已有缓存)

Returns

Promise<InstanceType<T>[]>