Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit d52bfe8

Browse files
Update Timestamp syntax
1 parent fa6087c commit d52bfe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/DATABASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The plugin will take care of serializing JSON data to native data structures.
4646

4747
#### Adding an update timestamp
4848
If you want to have Firebase a timestamp to your data (instead of clients which likely are not synchronized),
49-
you can use the placeholder value `firebase.ServerValue.TIMESTAMP`, so for instance:
49+
you can use the placeholder value `firebase.ServerValue.TIMESTAMP` (or `firebase["ServerValue"].TIMESTAMP` if your IDE complains about the former), so for instance:
5050

5151
```js
5252
// to store a JSON object

0 commit comments

Comments
 (0)