SQL LIKE operator in Cloud Firestore?

后端 未结 4 1018
名媛妹妹
名媛妹妹 2020-11-28 14:21

I have been using Firebase Real Time Fatabase for a while and I come across Cloud Firestore today. I can\'t figure out on how to use LIKE operator on Firestore.

Fir

4条回答
  •  伪装坚强ぢ
    2020-11-28 14:37

    There isn't an equivalent to LIKE, but you can do prefix filtering in the same way you do it in RTDB.

    The query you have written is the same as equals. You need to do the same end by trick and do just less than <.

提交回复
热议问题