Delete index at array in Firestore

后端 未结 3 598
臣服心动
臣服心动 2020-11-30 14:15

I got this data in my document:

I want to delete index 0. How do I do this? This should do the trick I thought:

    db.collection(\"data\").         


        
3条回答
  •  [愿得一人]
    2020-11-30 14:42

    Array operations have finally been supported. Deletion, addition, etc. are supported via the value (not the index) now:

    At the moment, there are a few bugs at the moment though as this one I encountered.

    The dev blog here:

提交回复
热议问题