芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/public_html/invoicer.pulsehost.co.uk/vendor/webmozart/Statement.php
statement->bindValue($param, $value, $this->convertParamType($type)); } public function execute(): Result { try { $result = $this->statement->execute(); } catch (\Exception $e) { throw Exception::new($e); } assert($result !== false); return new Result($result, $this->connection->changes()); } /** @psalm-return self::TYPE_* */ private function convertParamType(ParameterType $type): int { return match ($type) { ParameterType::NULL => self::TYPE_NULL, ParameterType::INTEGER, ParameterType::BOOLEAN => self::TYPE_INTEGER, ParameterType::STRING, ParameterType::ASCII => self::TYPE_TEXT, ParameterType::BINARY, ParameterType::LARGE_OBJECT => self::TYPE_BLOB, }; } }