DeprecationWarning: 'Collection.get' is deprecated: please use 'Collection.stream' instead.
xs.__next__() # => document.DocumentSnapshot
条件をつける時にはwhereを使う
python
In [25]: [d.to_dict()["text"] for d in db.collection("pieces").where("text", "<", "t").stream()]
Out[25]: []
In [26]: [d.to_dict()["text"] for d in db.collection("pieces").where("text", ">", "t").stream()]
Out[26]: ['test']
>Error: Cannot understand what targets to deploy. Check that you specified valid targets if you used the --only or --except flag. Otherwise, check your firebase.json to ensure that your project is initialized for the desired features.