I have such objects in ScriptDb,
[{a:1,b:2,c:3},{a:0,b:0}]
How do I query object without key c?
It seems the only way is to query all object using db.query({}), then use something like “typeof result.c == ‘undefined'”.
Is there a way to do it in ScriptDb?
Thanks.
I have such objects in ScriptDb, [{a:1,b:2,c:3},{a:0,b:0}] How do I query object without key
Share
You can use that to get records without c:
The ones with c:
These functions (not, anyValue…) are documented in Class ScriptDbInstance