**Signature:**

    export declare class DatabaseBuilder 

## Constructors

| Constructor | Modifiers | Description |
|---|---|---|
| [(constructor)(database, options)](https://firebase.google.com/docs/reference/functions/firebase-functions.firestore.databasebuilder#firestoredatabasebuilderconstructor) |   | Constructs a new instance of the `DatabaseBuilder` class |

## Methods

| Method | Modifiers | Description |
|---|---|---|
| [document(path)](https://firebase.google.com/docs/reference/functions/firebase-functions.firestore.databasebuilder#firestoredatabasebuilderdocument) |   |   |
| [namespace(namespace)](https://firebase.google.com/docs/reference/functions/firebase-functions.firestore.databasebuilder#firestoredatabasebuildernamespace) |   |   |

## 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](https://firebase.google.com/docs/reference/functions/firebase-functions.params.expression#paramsexpression_class)\<string\> |   |
| options | [DeploymentOptions](https://firebase.google.com/docs/reference/functions/firebase-functions.deploymentoptions#deploymentoptions_interface) |   |

## firestore.DatabaseBuilder.document()

**Signature:**

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

### Parameters

| Parameter | Type | Description |
|---|---|---|
| path | Path \| [Expression](https://firebase.google.com/docs/reference/functions/firebase-functions.params.expression#paramsexpression_class)\<string\> |   |

**Returns:**

[DocumentBuilder](https://firebase.google.com/docs/reference/functions/firebase-functions.firestore.documentbuilder#firestoredocumentbuilder_class)\<Path\>

## firestore.DatabaseBuilder.namespace()

**Signature:**

    namespace(namespace: string | Expression<string>): NamespaceBuilder;

### Parameters

| Parameter | Type | Description |
|---|---|---|
| namespace | string \| [Expression](https://firebase.google.com/docs/reference/functions/firebase-functions.params.expression#paramsexpression_class)\<string\> |   |

**Returns:**

[NamespaceBuilder](https://firebase.google.com/docs/reference/functions/firebase-functions.firestore.namespacebuilder#firestorenamespacebuilder_class)