OpenSwoole\Core\Coroutine\Client\PDOClient->setAttribute

25.x is outdated, please check the latest version 26.x


Latest version: pecl install openswoole-26.2.0

Declaration

<?php OpenSwoole\Core\Coroutine\Client\PDOClient->setAttribute()

Parameters

attribute

The attribute to modify.

value

The value to set.

Return

Description

Set an attribute, you can find all the attributes at set attribute document.

Last updated on February 28, 2026