Posts

Showing posts with the label Google Firebase

How to make Firebase query search not case sensitive #18

Image
How to make Firebase query search not case sensitive because you know Firebase provide exact match "==" with case sensitive. So we will solve this issue in the chapter in detail. We will use the Laravel PHP SDK for the firebase for all the queries stuff. Also we will see case insensitive sorting with Firebase orderBy using Firebase search ignoring case. Now lets consider a simple example, you have 'Student' list and you want to search by name. So the main use of any search is that, you insert one or two characters and the system should search the most matching one, but that not the case in Firebase. Firebase is a case sensitive. Means string "Name" and "name" are two different values for Firebase. All Firebase developers are facing this issue, which is most basic necessity. So lets first understand, currently what is provided by Firebase. See the below example of Student List. Now here you see, we have a Student ...

Chapter 1 - Introduction to Firebase

Image
In this chapter we are going to achieve basic knowledge of the Firebase, with it different types and how it can replace SQL database. Firebase is a NoSQL document database that lets you easily store, sync, and query data for your mobile and web apps - at global scale. Structure your data easily with collections and documents. Build hierarchies to store related data and easily retrieve the data you need using expressive queries. All queries scale with the size of your result set (note: not your data set), so your app is ready to scale from day one. MySQL  >  Databases  > Tables >  Columns/Rows Cloud Firestore  > Collections  >  Documents > ... Now, above return is Cloud Firestore. Not to confuse here. It is one of type of Firebase. Firebase has two types of database, one is Realtime Database and another one is Cloud Firestore. Now again don't be confused with the name Realtime i.e this is the realtime database. Both are s...