LDLMS_DB::escape_IN_clause_array( array $items = array(), string $force_type = '' )
Utility function to pre-process an array of values used in the SQL IN() clause.
Description #
Parameters #
- $items
-
(array) (Optional) Array of items to process.
Default value: array()
- $force_type
-
(string) (Optional) type to enforce for all items.
Default value: ''
Return #
(Array) with 'placeholders' and 'values' elements.
Source #
Changelog #
Version | Description |
---|---|
3.4.0 | Introduced. |