mobizt / Firebase-ESP-Client

[DEPRECATED]🔥Firebase Arduino Client Library for ESP8266, ESP32 and RP2040 Pico. The complete, fast, secured and reliable Firebase Arduino client library that supports RTDB, Cloud Firestore, Firebase and Google Cloud Storage, Cloud Messaging and Cloud Functions for Firebase.
MIT License
471 stars 100 forks source link

Firebase-ESP-Client/examples/Firestore/Data_Query /Data_Query.ino #528

Closed ItsDezi closed 1 year ago

ItsDezi commented 1 year ago

I am only able to see read time. Do you know how I can add the parameters to get the whole JSON file from the query? I am unable to change the consistency mode to anything besides leaving it undefined which is defaulting to the fb_esp_firestore_consistency_mode_readTime type. The compiler does not recognize objects of the class "fb_esp_firestore_consistency_mode". I would appreciate any help you could provide with this issue. (I am using an ESP32)

ItsDezi commented 1 year ago

Update, I realized it's an enum. But if I want to set the consistencyMode to newTransaction, then what should I set consistency to? When I set consistencyMode but put nothing for consistency, it still just returns readTime.