0
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
  • 3,506
  • 25
  • 31
Sneh
  • 253
  • 4
  • 14

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
  • 12,171
  • 3
  • 32
  • 53