veritatisdoloremque
Version:
Monorepo for the Firebase JavaScript SDK
36 lines (25 loc) • 1.19 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/database](./database.md) > [DataSnapshot](./database.datasnapshot.md)
## DataSnapshot interface
<b>Signature:</b>
```typescript
export interface DataSnapshot
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [key](./database.datasnapshot.key.md) | string \| null | |
| [ref](./database.datasnapshot.ref.md) | [Reference](./database.reference.md) | |
## Methods
| Method | Description |
| --- | --- |
| [child(path)](./database.datasnapshot.child.md) | |
| [exists()](./database.datasnapshot.exists.md) | |
| [exportVal()](./database.datasnapshot.exportval.md) | |
| [forEach(action)](./database.datasnapshot.foreach.md) | |
| [getPriority()](./database.datasnapshot.getpriority.md) | |
| [hasChild(path)](./database.datasnapshot.haschild.md) | |
| [hasChildren()](./database.datasnapshot.haschildren.md) | |
| [numChildren()](./database.datasnapshot.numchildren.md) | |
| [toJSON()](./database.datasnapshot.tojson.md) | |
| [val()](./database.datasnapshot.val.md) | |