intersvyaz / pdo-oci8
PDO userspace driver proxying calls to PHP OCI8 driver
Installs: 64 233
Dependents: 1
Suggesters: 0
Security: 0
Stars: 5
Watchers: 11
Forks: 63
Open Issues: 0
Requires
- php: >=5.5.0
Requires (Dev)
- phpunit/phpunit: 3.7.*
README
This package is a simple userspace driver for PDO that uses the tried and tested OCI8 functions instead of using the still experimental and not all that functionnal PDO_OCI library.
Please report any bugs you may find.
Features
Automatic save blob fields.
Use Oci8::PARAM_BLOB
and Oci8::PARAM_CLOB
constant in bindValue.
Yii::app()->db->createCommand("INSERT INTO table (data) VALUES (empty_blob()) returning data into :data") ->bindParam(':data', 'very very long string', Oci8::PARAM_BLOB) ->execute();
##Installation
Run php composer.phar require "intersvyaz/pdo-oci8: ~2.0.0"
or add as a requirement to composer.json:
{ "require": { "intersvyaz/pdo-oci8": "~2.0.0" } }
And then run composer update
###Credits