1
Collection - Post
{
  "postId" : "post_124",
  "title" : "World population 2020"
}                                                                                       

How to write a query that returns posts having the string "World population" in the "title" field?

Dharmesh Mansata
  • 4,422
  • 1
  • 27
  • 33
Sneh
  • 413
  • 1
  • 5
  • 18

1 Answers1

0

Firestore doesn't support this level of query. See Full-text search for a possible work-around/solution. The only expressions available are:

<, <=, ==, >, >=, array-contains, in, or array-contains-any.

Kolban
  • 13,794
  • 3
  • 38
  • 60