firestore.NamespaceBuilder class

Signature:

export declare class NamespaceBuilder 

Constructors

Constructor Modifiers Description
(constructor)(database, options, namespace) Constructs a new instance of the NamespaceBuilder class

Methods

Method Modifiers Description
document(path)

firestore.NamespaceBuilder.(constructor)

Constructs a new instance of the NamespaceBuilder class

Signature:

constructor(database: string | Expression<string>, options: DeploymentOptions, namespace?: string | Expression<string>);

Parameters

Parameter Type Description
database string | Expression<string>
options DeploymentOptions
namespace string | Expression<string>

firestore.NamespaceBuilder.document()

Signature:

document<Path extends string>(path: Path | Expression<string>): DocumentBuilder<Path>;

Parameters

Parameter Type Description
path Path | Expression<string>

Returns:

DocumentBuilder<Path>