$fields
$fields :
Class representing a Salesforce SELECT SOQL query.
__construct(string $object_type = '')
Constructor which sets the query object type.
| string | $object_type | Salesforce object type to query. |
add_condition(string $field, mixed $value, string $operator = '=')
Add a condition to the query.
| string | $field | Field name. |
| mixed | $value | Condition value. If an array, it will be split into quote enclosed strings separated by commas inside of parenthesis. Note that the caller must enclose the value in quotes as needed by the SF API. |
| string | $operator | Conditional operator. One of '=', '!=', '<', '>', 'LIKE, 'IN', 'NOT IN'. |
__toString() : string
Implements PHP's magic __toString().
Function to convert the query to a string to pass to the SF API.
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jstegall/Sites/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/jstegall/Sites/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293SOQL query ready to be executed the SF API.