Method PgRemoteFilter():new() Foundation

Creates a PostgreSQL filter object based on an expression

Syntax
:new( <cExpr> ) -> oRemoteFilter
Parameters
<cExpr>
<cExpr> can be any valid PostgreSQL expression.
Return

This method returns a PGRemoteFilter object to be used with DbSetFilter().

Description

The following Xbase++ code shows how an explicit remote filter is set up and used with "country" as a parameter via the PGRemoteFilter() class.

... 
oFilter := PGRemoteFilter():new("country=::country") 
oFilter:country := "US" 
DbSetFilter( oFilter ) 
... 

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.