database.InstanceBuilder class

The Firebase Realtime Database instance builder interface.

Access via [database.instance()](providers_database_.html#instance).

Signature:

exportdeclareclassInstanceBuilder

Constructors

ConstructorModifiersDescription
(constructor)(instance, options)Constructs a new instance of theInstanceBuilder class

Methods

MethodModifiersDescription
ref(path)

database.InstanceBuilder.(constructor)

Constructs a new instance of theInstanceBuilder class

Signature:

constructor(instance:string,options:DeploymentOptions);

Parameters

ParameterTypeDescription
instancestring
optionsDeploymentOptions

database.InstanceBuilder.ref()

Signature:

ref<Refextendsstring>(path:Ref):RefBuilder<Ref>;

Parameters

ParameterTypeDescription
pathRef

Returns:

RefBuilder<Ref>

Firebase Realtime Database reference builder interface.

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

Last updated 2023-04-24 UTC.