Add a soql::soql_where() statement to a SOQL query, or return the original query if where_value is NULL.
Source: R/utils.R
soql_nullable_where.RdAdd a soql::soql_where() statement to a SOQL query,
or return the original query if where_value is NULL.
Arguments
- soql_list
A
soqlquery object, which can be piped in. If one hasn't been created yet, use or pipe insoql::soql().- column
column name for the
soql::soql_where()component of the query, as a string.- comparison_operator
comparison operator for the
soql::soql_where()component of the query, as a string.- where_value
A value for the comparison, or
NULLfor no filtering.
Value
A new soql::soql() object with the filter added, or
simply the input object if where_value is NULL.