Open nathanblogs opened 8 months ago
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
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 ?
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