ContainsField
This reference topic applies to FQL v4. Go to this page for the latest FQL v10 reference topics. |
ContainsField( field, in )
contains_field( field, in )
ContainsField( field, in )
ContainsField( field, in )
ContainsField( field, in )
ContainsField( field, in )
Description
The ContainsField
function returns true
if the specified field
exists
within the result of the in
expression, or false
otherwise.
ContainsField
is useful when you need to distinguish between objects,
arrays, or documents that contain a field and those that do not.