veritatisdoloremque
Version:
Monorepo for the Firebase JavaScript SDK
25 lines (14 loc) • 531 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/database](./database.md) > [getDatabase](./database.getdatabase.md)
## getDatabase() function
<b>Signature:</b>
```typescript
export declare function getDatabase(app: FirebaseApp, url?: string): Database;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| app | FirebaseApp | |
| url | string | |
<b>Returns:</b>
[Database](./database.database.md)