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 | Expression<string>, options: DeploymentOptions);
Parameters
| Parameter | Type | Description |
|---|---|---|
| database | string | Expression<string> | |
| options | DeploymentOptions |
firestore.DatabaseBuilder.document()
Signature:
document<Path extends string>(path: Path | Expression<string>): DocumentBuilder<Path>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| path | Path | Expression<string> |
Returns:
DocumentBuilder<Path>
firestore.DatabaseBuilder.namespace()
Signature:
namespace(namespace: string | Expression<string>): NamespaceBuilder;
Parameters
| Parameter | Type | Description |
|---|---|---|
| namespace | string | Expression<string> |
Returns: