firestore.DatabaseBuilder class

Signature:

exportdeclareclassDatabaseBuilder

Constructors

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

Methods

MethodModifiersDescription
document(path)
namespace(namespace)

firestore.DatabaseBuilder.(constructor)

Constructs a new instance of theDatabaseBuilder class

Signature:

constructor(database:string,options:DeploymentOptions);

Parameters

ParameterTypeDescription
databasestring
optionsDeploymentOptions

firestore.DatabaseBuilder.document()

Signature:

document<Pathextendsstring>(path:Path):DocumentBuilder<Path>;

Parameters

ParameterTypeDescription
pathPath

Returns:

DocumentBuilder<Path>

firestore.DatabaseBuilder.namespace()

Signature:

namespace(namespace:string):NamespaceBuilder;

Parameters

ParameterTypeDescription
namespacestring

Returns:

NamespaceBuilder

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.