Returns a placeholder value that can be used to atomically increment the
current database value by the provided delta.
The delta must be a long or double value. If the current value is not an
integer or double, or if the data does not yet exist, the transformation will
set the data to the delta value. If either of the delta value or the existing
data are doubles, both values will be interpreted as doubles. Double
arithmetic and representation of double values follow IEEE 754 semantics. If
there is positive/negative integer overflow, the sum is calculated as a
double.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-11 UTC."],[],[],null,["# FirebaseDatabase Framework Reference\n\nServerValue\n===========\n\n class ServerValue : NSObject\n\nPlaceholder values you may write into Firebase Database as a value or\npriority that will automatically be populated by the Firebase Database\nserver.\n- `\n ``\n ``\n `\n\n ### [timestamp()](#/c:objc(cs)FIRServerValue(cm)timestamp)\n\n `\n ` \n Placeholder value for the number of milliseconds since the Unix epoch \n\n #### Declaration\n\n Swift \n\n class func timestamp() -\u003e [AnyHashable : Any]\n\n- `\n ``\n ``\n `\n\n ### [increment(_:)](#/c:objc(cs)FIRServerValue(cm)increment:)\n\n `\n ` \n Returns a placeholder value that can be used to atomically increment the\n current database value by the provided delta.\n\n The delta must be a long or double value. If the current value is not an\n integer or double, or if the data does not yet exist, the transformation will\n set the data to the delta value. If either of the delta value or the existing\n data are doubles, both values will be interpreted as doubles. Double\n arithmetic and representation of double values follow IEEE 754 semantics. If\n there is positive/negative integer overflow, the sum is calculated as a\n double. \n\n #### Declaration\n\n Swift \n\n class func increment(_ delta: NSNumber) -\u003e [AnyHashable : Any]\n\n #### Parameters\n\n |---------------|----------------------------------------------------|\n | ` `*delta*` ` | the amount to modify the current value atomically. |\n\n #### Return Value\n\n a placeholder value for modifying data atomically server-side."]]