Skip to main content
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

Returns

string

valueOf

▸ valueOf(): never

Returns

never

toJSON

▸ toJSON(): never

Returns

never

toString

▸ toString(): string

Returns

string