Skip to content

intersvyaz/pdo-oci8

 
 

Repository files navigation

PDO Userspace Driver for Oracle (oci8)

Latest Stable Version Total Downloads License

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

About

PHP pdo_oci functions via oci8 extension

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%