database.InstanceBuilder class
Stay organized with collections
Save and categorize content based on your preferences.
The Firebase Realtime Database instance builder interface.
Access via [database.instance()
](providers_database_.html#instance).
Signature:
export declare class InstanceBuilder
Constructors
Methods
database.InstanceBuilder.(constructor)
Constructs a new instance of the InstanceBuilder
class
Signature:
constructor(instance: string, options: DeploymentOptions);
Parameters
database.InstanceBuilder.ref()
Signature:
ref<Ref extends string>(path: Ref): RefBuilder<Ref>;
Parameters
Parameter |
Type |
Description |
path |
Ref |
|
Returns:
RefBuilder<Ref>
Firebase Realtime Database reference builder interface.
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 2023-04-24 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-04-24 UTC."],[],[],null,["# database.InstanceBuilder class\n\nThe Firebase Realtime Database instance builder interface.\n\nAccess via \\[`database.instance()`\\](providers_database_.html#instance).\n\n**Signature:** \n\n export declare class InstanceBuilder \n\nConstructors\n------------\n\n| Constructor | Modifiers | Description |\n|-------------------------------------------------------------------------------------------------------------------------|-----------|----------------------------------------------------------|\n| [(constructor)(instance, options)](./firebase-functions.database.instancebuilder.md#databaseinstancebuilderconstructor) | | Constructs a new instance of the `InstanceBuilder` class |\n\nMethods\n-------\n\n| Method | Modifiers | Description |\n|------------------------------------------------------------------------------------------|-----------|-------------|\n| [ref(path)](./firebase-functions.database.instancebuilder.md#databaseinstancebuilderref) | | |\n\ndatabase.InstanceBuilder.(constructor)\n--------------------------------------\n\nConstructs a new instance of the `InstanceBuilder` class\n\n**Signature:** \n\n constructor(instance: string, options: DeploymentOptions);\n\n### Parameters\n\n| Parameter | Type | Description |\n|-----------|--------------------------------------------------------------------------------------------|-------------|\n| instance | string | |\n| options | [DeploymentOptions](./firebase-functions.deploymentoptions.md#deploymentoptions_interface) | |\n\ndatabase.InstanceBuilder.ref()\n------------------------------\n\n**Signature:** \n\n ref\u003cRef extends string\u003e(path: Ref): RefBuilder\u003cRef\u003e;\n\n### Parameters\n\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| path | Ref | |\n\n**Returns:**\n\n[RefBuilder](./firebase-functions.database.refbuilder.md#databaserefbuilder_class)\\\u003cRef\\\u003e\n\nFirebase Realtime Database reference builder interface."]]