I am using Firebase for my app and am trying to query the contents of my database. I am using the following query:
DataService.dataService.BASE_REF.child("Posts").
child(selectedComment.commentKey).child("comments").
queryOrderedByChild("userComment").queryEqualToValue(comment).
observeSingleEventOfType(.Value, withBlock: { (snapshot) in
For eg. if I am searching for the term "bose", then only bose shows up, but "Bose", "BOSE" & "Bose XYZ" won't show up. How would I go about querying such that all of the above show up when I query "bose"