API reference / @evolu/common / Evolu/Storage / getTimestampByIndex
Function: getTimestampByIndex()
function getTimestampByIndex(
deps,
): (
ownerId,
index,
) => Result<Uint8Array<ArrayBufferLike> & Brand<"TimestampBytes">, SqliteError>;
Defined in: packages/common/src/Evolu/Storage.ts:1420
Parameters
| Parameter | Type |
|---|---|
deps | SqliteDep |
Returns
(ownerId, index): Result<Uint8Array<ArrayBufferLike> & Brand<"TimestampBytes">, SqliteError>;
Parameters
| Parameter | Type |
|---|---|
ownerId | Uint8Array<ArrayBufferLike> & Brand<"Length16"> & Brand<"IdBytes"> & Brand<"OwnerIdBytes"> |
index | number & Brand<"Int"> & Brand<"NonNegative"> |
Returns
Result<Uint8Array<ArrayBufferLike> & Brand<"TimestampBytes">, SqliteError>