0

Do you know how to perform incase sensetive in firebase.  Demonstration: Suppose database is have list of names such as [ John, jhonny, Jhonson, jackson]. If i enter key ‘j’ or ‘J’. i want all name from j to be show irrespective of cases of names.

Vikash Sharma
  • 539
  • 8
  • 13
  • 2
    I recommend making all names Uppercase before saving it to the database. This way you wouldn't have to search for 'j' or 'J'. You'd only look for 'J'. – Rosário Pereira Fernandes Feb 25 '18 at 13:17
  • This is just an alternative, I want an exact solution. – Vikash Sharma Feb 25 '18 at 13:25
  • 2
    Similar to @RosárioPereiraFernandes but make a new secondary field which is the case-insensitive form of the original name so as to not lose that information. So "name" and "caseInsensitiveName" and query on the "caseInsensitiveName" after first making the query case insensitive. –  Feb 25 '18 at 15:29

0 Answers0