yajra / pdo-via-oci8

PHP PDO_OCI functions via OCI8 extension
Other
88 stars 61 forks source link

feat: stringify support in pdo via oci 8 #122

Closed Mahdiazadbar closed 1 year ago

Mahdiazadbar commented 1 year ago

Add support disable STRINGIFY in oracle statement. then number value return as string with this change and use PDO::ATTR_STRINGIFY_FETCHES = false the number value rerun as number.

yajra commented 1 year ago

The changes look good; I will try to check this as soon as I can.

Would you be able to provide example snippets for this feature? Or maybe add some tests if possible.

Thanks!

Mahdiazadbar commented 1 year ago

whit this option in database config image

we have this result image

and when set true(and default is true) the result show as belw image

and data structure in database image

Mahdiazadbar commented 1 year ago

and this issue relate to this pull request https://github.com/yajra/laravel-oci8/issues/682

yajra commented 1 year ago

Released on v3.3.0 🚀 Thanks!