We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Motivation: when ?. is means we can call select on a nullable value, but it still throws Field does not exists exception.
?.
select
nullable
Field does not exists
What about using a obj.b? or obj['b'?] syntax to express: if bdoes not exists inobj, then returnnull` instead of an error.
obj.b?
obj['b'?] syntax to express: if
does not exists in
, then return
or, we can just use std.get method
std.get
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Motivation: when
?.
is means we can callselect
on anullable
value, but it still throwsField does not exists
exception.What about using a
obj.b?
orobj['b'?] syntax to express: if
bdoes not exists in
obj, then return
null` instead of an error.or, we can just use
std.get
methodThe text was updated successfully, but these errors were encountered: