src/PDO/SchemaPDOSqlite.php
/**
     * Changes row's array key case to lower if PDO one is set to uppercase.
     *
     * @param array $row row's array or an array of row's arrays.
     * @param bool $multiple whether multiple rows or a single row passed.
     *
     * @throws Exception
     *
     * @return array normalized row or rows.
     */
Changes row's array key case to lower if PDO one is set to uppercase.
@param array $row row's array or an array of row's arrays.
@param bool $multiple whether multiple rows or a single row passed.

@throws Exception

@return array normalized row or rows.
Changes row ' s array key case to lower if PDO one is set to uppercase . @param array $row row ' s array or an array of row ' s arrays . @param bool $multiple whether multiple rows or a single row passed . @throws Exception @return array normalized row or rows .
protected function normalizePdoRowKeyCase(array $row, bool $multiple): array
    {
        if ($this->db->getSlavePdo()?->getAttribute(PDO::ATTR_CASE) !== PDO::CASE_UPPER) {
            return $row;
        }
        if ($multiple) {
            return array_map(static function (array $row) {
                return array_change_key_case($row, CASE_LOWER);
            }, $row);
        }
        return array_change_key_case($row, CASE_LOWER);
    }
protected function normalizePdoRowKeyCase ( array $ row , bool $ multiple ) : array { if ( $ this -> db -> getSlavePdo ( ) ?-> getAttribute ( PDO :: ATTR_CASE ) !== PDO :: CASE_UPPER ) { return $ row ; } if ( $ multiple ) { return array_map ( static function ( array $ row ) { return array_change_key_case ( $ row , CASE_LOWER ) ; } , $ row ) ; } return array_change_key_case ( $ row , CASE_LOWER ) ; }
Changes row's array key case to lower if PDO one is set to uppercase.
Changes row ' s array key case to lower if PDO one is set to uppercase .