Jump to top

ServerValue

interface

The ServerValue interface provides access to Firebase server values.

Properties

TIMESTAMP

</>

A placeholder value for auto-populating the current timestamp (time since the Unix epoch, in milliseconds) as determined by the Firebase servers.

TIMESTAMP: object;

Methods

increment

</>

Returns a placeholder value that can be used to atomically increment the current database value by the provided delta.

increment(delta: number): object;