firestore.NamespaceBuilder class

Signature:

exportdeclareclassNamespaceBuilder

Constructors

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

Methods

MethodModifiersDescription
document(path)

firestore.NamespaceBuilder.(constructor)

Constructs a new instance of theNamespaceBuilder class

Signature:

constructor(database:string,options:DeploymentOptions,namespace?:string);

Parameters

ParameterTypeDescription
databasestring
optionsDeploymentOptions
namespacestring

firestore.NamespaceBuilder.document()

Signature:

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

Parameters

ParameterTypeDescription
pathPath

Returns:

DocumentBuilder<Path>

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.