Function DatabaseDriver->get_minimum_search_length
Definitions
sources/database.php
- Get minimum search length.This is broadly MySQL-specific. For other databases we will usually return 4, although there may truly not be a limit on it.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: int
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$connection | mixed | No | No | required parameter | N/A | N/A | The DB connection |
Returns
- Search length
- Type: integer
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get minimum search length.This is broadly MySQL-specific. For other databases we will usually return 4, although there may truly not be a limit on it.
*
* @param mixed $connection The DB connection
* @return integer Search length
*/
public function get_minimum_search_length($connection) : int
* Get minimum search length.This is broadly MySQL-specific. For other databases we will usually return 4, although there may truly not be a limit on it.
*
* @param mixed $connection The DB connection
* @return integer Search length
*/
public function get_minimum_search_length($connection) : int