Skip to content

PDO::PARAM_LOB #80

Open
Open
@nathanblogs

Description

@nathanblogs

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions