I'm using this query to verify if data exists on my Firebase (using AngularFire2)
let aux = this.afData.list("/drivers", { query: { orderByChild: '/accountHistory/approved', equalTo: null } });
Works pretty fine, but i also need to make an inverse query.
Like this
let aux = this.afData.list("/drivers", { query: { orderByChild: '/accountHistory/approved', equalTo: !null } });
The problem is. This second query, only returns if the value is TRUE, i'm storing a TIMESTAMP on /driveruid/accountHistory/approved'
There is any way to only verify if the Value exist or doesn't exist?
Thanks!