Function Database_Static_xml->_turn_where_expr_to_map
Definitions
sources/database/xml.php
- Take an expression and do our best to collapse it into a fixed mapping of stuff we know we are going to AND.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$where_expr | array | No | No | required parameter | N/A | N/A | The expression parse tree |
$table_as | string | No | No | required parameter | N/A | N/A | What the table will be renamed to (blank: N/A) |
$schema | ?array | No | No | Null | N/A | N/A | Schema to type-set against (null: do not do type-setting) |
$not_full_accuracy | boolean | No | No | False | N/A | N/A | Whether to do a not-full-accurate search |
Returns
- AND map
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Take an expression and do our best to collapse it into a fixed mapping of stuff we know we are going to AND.
*
* @param array $where_expr The expression parse tree
* @param string $table_as What the table will be renamed to (blank: N/A)
* @param ?array $schema Schema to type-set against (null: do not do type-setting)
* @param boolean $not_full_accuracy Whether to do a not-full-accurate search
* @return array AND map
*/
protected function _turn_where_expr_to_map(array $where_expr, string $table_as, ?array $schema = null, bool $not_full_accuracy = false) : array
* Take an expression and do our best to collapse it into a fixed mapping of stuff we know we are going to AND.
*
* @param array $where_expr The expression parse tree
* @param string $table_as What the table will be renamed to (blank: N/A)
* @param ?array $schema Schema to type-set against (null: do not do type-setting)
* @param boolean $not_full_accuracy Whether to do a not-full-accurate search
* @return array AND map
*/
protected function _turn_where_expr_to_map(array $where_expr, string $table_as, ?array $schema = null, bool $not_full_accuracy = false) : array