Class: CommitTsPlaceholder
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
| Name | Type |
|---|---|
hint | string |
Returns
string
Defined in
valueOf
▸ valueOf(): never
Returns
never
Defined in
toJSON
▸ toJSON(): never
Returns
never
Defined in
toString
▸ toString(): string
Returns
string