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

ParameterType
depsSqliteDep

Returns

(ownerId, index): Result<Uint8Array<ArrayBufferLike> & Brand<"TimestampBytes">, SqliteError>;

Parameters

ParameterType
ownerIdUint8Array<ArrayBufferLike> & Brand<"Length16"> & Brand<"IdBytes"> & Brand<"OwnerIdBytes">
indexnumber & Brand<"Int"> & Brand<"NonNegative">

Returns

Result<Uint8Array<ArrayBufferLike> & Brand<"TimestampBytes">, SqliteError>

Was this page helpful?