diff options
author | Gil <mcg@google.com> | 2018-03-21 18:43:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-21 18:43:29 -0700 |
commit | cf630bfee60694f9bf1577972df169badda0b6e0 (patch) | |
tree | 2b815ec0e241666aa04da5e58e7c85ce23518e50 /Firestore/core/src/firebase/firestore/model | |
parent | 5f49b2f3f9866e4db13d09857eb3b548239cc62e (diff) |
Port FSTLevelDBKey to C++ (#937)
Diffstat (limited to 'Firestore/core/src/firebase/firestore/model')
-rw-r--r-- | Firestore/core/src/firebase/firestore/model/types.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Firestore/core/src/firebase/firestore/model/types.h b/Firestore/core/src/firebase/firestore/model/types.h index 4f71829..fc1b196 100644 --- a/Firestore/core/src/firebase/firestore/model/types.h +++ b/Firestore/core/src/firebase/firestore/model/types.h @@ -23,7 +23,17 @@ namespace firebase { namespace firestore { namespace model { -typedef int32_t TargetId; +/** + * BatchId is a locally assigned identifier for a batch of mutations that have + * been applied by the user but have not yet been fully committed at the server. + */ +using BatchId = int32_t; + +/** + * TargetId is a stable numeric identifier assigned for a specific query + * applied. + */ +using TargetId = int32_t; } // namespace model } // namespace firestore |