firebase-sql icon indicating copy to clipboard operation
firebase-sql copied to clipboard

Queries on nested properties fail with the LIKE operator

Open JoeRoddy opened this issue 6 years ago • 1 comments

BUG

Database: realtime Data:

users: {
     a: {
          info: {
               email: "[email protected]"
          }
     }
}

the following query works: select * from users where info.email = "[email protected]"; but this returns no results: select * from users where info.email LIKE "%@gmail.com";

JoeRoddy avatar Aug 30 '19 15:08 JoeRoddy

Lots of operators on nested props broken: select * from users where info.email != null; select * from users where info.height > 10; ^Return every record

JoeRoddy avatar Aug 30 '19 15:08 JoeRoddy