database namespace

Signature:

export declare namespace database 

Variables

Variable Description
enableLogging enableLogging function from the @firebase/database-compat package.
ServerValue ServerValue constant from the @firebase/database-compat package.

Type Aliases

Type Alias Description
Database Type alias to Database.
DataSnapshot Type alias to DataSnapshot type from the @firebase/database-compat package.
EventType Type alias to the EventType type from the @firebase/database-compat package.
OnDisconnect Type alias to OnDisconnect type from the @firebase/database-compat package.
Query Type alias to Query type from the @firebase/database-compat package.
Reference Type alias to Reference type from the @firebase/database-compat package.
ThenableReference Type alias to ThenableReference type from the @firebase/database-compat package.

database.enableLogging

enableLogging function from the @firebase/database-compat package.

Signature:

enableLogging: typeof rtdb.enableLogging

database.ServerValue

ServerValue constant from the @firebase/database-compat package.

Signature:

ServerValue: rtdb.ServerValue

Type alias to Database.

Signature:

type Database = TDatabase;

database.DataSnapshot

Type alias to DataSnapshot type from the @firebase/database-compat package.

Signature:

type DataSnapshot = rtdb.DataSnapshot;

database.EventType

Type alias to the EventType type from the @firebase/database-compat package.

Signature:

type EventType = rtdb.EventType;

database.OnDisconnect

Type alias to OnDisconnect type from the @firebase/database-compat package.

Signature:

type OnDisconnect = rtdb.OnDisconnect;

database.Query

Type alias to Query type from the @firebase/database-compat package.

Signature:

type Query = rtdb.Query;

database.Reference

Type alias to Reference type from the @firebase/database-compat package.

Signature:

type Reference = rtdb.Reference;

database.ThenableReference

Type alias to ThenableReference type from the @firebase/database-compat package.

Signature:

type ThenableReference = rtdb.ThenableReference;

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-04-16 UTC.