firestore.DatabaseBuilder class

Signature:

export declare class DatabaseBuilder 

Constructors

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

Methods

Method Modifiers Description
document(path)
namespace(namespace)

firestore.DatabaseBuilder.(constructor)

Constructs a new instance of the DatabaseBuilder class

Signature:

constructor(database: string, options: DeploymentOptions);

Parameters

Parameter Type Description
database string
options DeploymentOptions

firestore.DatabaseBuilder.document()

Signature:

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

Parameters

Parameter Type Description
path Path

Returns:

DocumentBuilder<Path>

firestore.DatabaseBuilder.namespace()

Signature:

namespace(namespace: string): NamespaceBuilder;

Parameters

Parameter Type Description
namespace string

Returns:

NamespaceBuilder