芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/hocabayucatan.gob.mx/libraries/vendor/joomla/database/src/Pdo/PdoQuery.php
select($query->castAsChar('a')); * $query->select($query->castAsChar('a', 40)); * * @param string $value The value to cast as a char. * @param string $len The length of the char. * * @return string Returns the cast value. * * @since 1.8.0 */ public function castAsChar($value, $len = null) { if (!$len) { return $value; } else { return 'CAST(' . $value . ' AS CHAR(' . $len . '))'; } } }