Class GF_Query_Call
The Gravity Forms Query Call class.
Methods summary
public
|
#
__construct( string $function_name, array $parameters = array() )
A function call.
Parameters
- $function_name
- The function to call.
- $parameters
- The function parameters. Default: []
|
public
string
|
#
sql( GF_Query $query )
Generate the SQL.
The default behavior is to just plop function_name( implode( ', ', $parameters ) ).
For other cases, like CAST, check the derived classes.
Parameters
Returns
string The generated SQL.
|
public static
GF_Query_Call |null
|
#
CAST( GF_Query_Column $column, string $type )
A cast call.
Parameters
- $column
- The column to cast.
- $type
- The type to cast to.
Returns
|
public static
GF_Query_Call |null
|
|
public
|
|