A PropertyFilter is a filter that gets applied to a query directly.
Inheritance
EntityFilter > PropertyFilterPackage
@google-cloud/datastoreConstructors
(constructor)(name, op, val)
constructor
(
name
:
T
,
op
:
Operator
,
val
:
AllowedFilterValueType<T>
);
Build a Property Filter object.
Parameters
Name
Description
name
T
op
Operator
val
AllowedFilterValueType
<T>
Properties
name
name
:
T
;
op
op
:
Operator
;
val
val
:
AllowedFilterValueType<T>
;
Methods
toProto()
toProto
()
:
any
;
Gets the proto for the filter.
Returns
Type
Description
any