UNPKG

voluptasmollitia

Version:
27 lines (15 loc) 661 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@firebase/database](./database.md) &gt; [increment](./database.increment.md) ## increment() function Returns a placeholder value that can be used to atomically increment the current database value by the provided delta. <b>Signature:</b> ```typescript export declare function increment(delta: number): object; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | delta | number | the amount to modify the current value atomically. | <b>Returns:</b> object A placeholder value for modifying data atomically server-side.