Function Database_super_mysql->encode_like
Definitions
sources/database/shared/mysql.php
- Encode a LIKE string comparison fragment for the database system. The pattern is a mixture of characters and _ and % wildcard symbols.Regular string escaping is also applied so that you can put the output directly between quotes.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$pattern | string | required parameter | N/A | N/A | The pattern |
Return
- The encoded pattern
- Type: string
- Set: N/A
- Range: N/A