Class PropertyFilter (8.3.0)

A PropertyFilter is a filter that gets applied to a query directly.

Inheritance

EntityFilter > PropertyFilter

Package

@google-cloud/datastore

Constructors

(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
Design a Mobile Site
View Site in Mobile | Classic
Share by: