-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support precision in Firestore Document's DoubleValue and MapValue
- Loading branch information
Showing
12 changed files
with
550 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name=FirebaseClient | ||
|
||
version=1.2.13 | ||
version=1.2.14 | ||
|
||
author=Mobizt | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
|
||
# Document | ||
|
||
## Description | ||
|
||
Google Cloud Firestore database Document class | ||
|
||
|
||
```cpp | ||
class Document | ||
``` | ||
## Constructors | ||
1. ### 🔹 Document(const String &name = "") | ||
A Firestore document constructor with document resource name. | ||
```cpp | ||
Document(const String &name = "") | ||
``` | ||
|
||
**Params:** | ||
|
||
- `name` - The resource name of the document. | ||
|
||
2. ### 🔹 Document(const String &key, T value) | ||
|
||
A Firestore document constructor with `Values::Value` object. See [Firestore Value class and functions](/resources/docs/firestore_database_values.md). | ||
|
||
```cpp | ||
Document(const String &key, T value) | ||
``` | ||
**Params:** | ||
- `key` - The key of an object. | ||
- `value` - The value of an `Values::Value` object. | ||
## Functions | ||
1. ### 🔹 Document &add(const String &key, T value) | ||
Add the `Values::Value` object to Firestore document. See [Firestore Value class and functions](/resources/docs/firestore_database_values.md). | ||
```cpp | ||
Document &add(const String &key, T value) | ||
``` | ||
|
||
**Params:** | ||
|
||
- `key` - The key of an `Values::Value` object. | ||
|
||
- `value` - The value of an `Values::Value` object. | ||
|
||
2. ### 🔹 void setName(const String &name) | ||
|
||
Set the document resource name. | ||
|
||
```cpp | ||
void setName(const String &name) | ||
``` | ||
**Params:** | ||
- `name` - The resource name of the document. |
Oops, something went wrong.