PDO::sqliteCreateCollationRegisters a User Defined Function for use as a collating function in SQL statements Description
public bool PDO::sqliteCreateCollation
( string
$name
, callable $callback
)Warning
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk. Parameters
Return Values
Returns Examples
Example #1 PDO::sqliteCreateCollation example
<?php The above example will output: a1 a10 a2 a1 a2 a10 Notes
|