Skip to main content

Class: CommitTsPlaceholder

For AI agents: see llms.txt for the complete documentation index. Markdown versions are available by adding .md to a page URL or requesting Accept: text/markdown.

values.CommitTsPlaceholder

The placeholder for a transaction's commit timestamp, which is not known until the mutation commits. Write it into a document field via db.vars.commitTs and it resolves to an int64 (bigint) at commit, ordered by commit order. Reading the field back within the writing mutation yields the placeholder, which cannot be used as a number.

Constructors​

constructor​

• new CommitTsPlaceholder()

Methods​

[toPrimitive]​

▸ [toPrimitive](hint): string

Parameters​

NameType
hintstring

Returns​

string

Defined in​

values/value.ts:102


valueOf​

▸ valueOf(): never

Returns​

never

Defined in​

values/value.ts:109


toJSON​

▸ toJSON(): never

Returns​

never

Defined in​

values/value.ts:112


toString​

▸ toString(): string

Returns​

string

Defined in​

values/value.ts:115