voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
28 lines (17 loc) • 908 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/database](./database.md) > [TransactionResult](./database.transactionresult.md)
## TransactionResult class
A type for the resolve value of Firebase.transaction.
<b>Signature:</b>
```typescript
export declare class TransactionResult
```
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [committed](./database.transactionresult.committed.md) | | boolean | Whether the transaction was successfully committed. |
| [snapshot](./database.transactionresult.snapshot.md) | | [DataSnapshot](./database.datasnapshot.md) | The resulting data snapshot. |
## Methods
| Method | Modifiers | Description |
| --- | --- | --- |
| [toJSON()](./database.transactionresult.tojson.md) | | Returns a JSON-serializable representation of this object. |