laravel-pg-extensions
laravel-pg-extensions copied to clipboard
PDO::PARAM_LOB
Hi,
Is there a reason for not handling resource types when PDO::ATTR_EMULATE_PREPARES is set ?
I believe this should be added to the bindValues switch statement, to be in-line with laravel ?
case is_resource($value):
$dataType = PDO::PARAM_LOB;
break;
https://github.com/umbrellio/laravel-pg-extensions/blob/master/src/PostgresConnection.php#L82 https://github.com/laravel/framework/blob/10.x/src/Illuminate/Database/Connection.php#L721