PHP 클래스 Phalcon\Db\Adapter\Pdo\Oracle

Specific functions for the Oracle database system $config = array( "dbname" => "//localhost/dbname", "username" => "oracle", "password" => "oracle" ); $connection = new Phalcon\Db\Adapter\Pdo\Oracle($config);
또한 보기: https://github.com/phalcon/cphalcon/blob/1.2.6/ext/db/adapter/pdo/oracle.c
상속: extends Phalcon\Db\Adapter\Pdo, implements Phalcon\Events\EventsAwareInterface, implements Phalcon\Db\AdapterInterface
파일 보기 프로젝트 열기: phalcon/incubator

보호된 프로퍼티들

프로퍼티 타입 설명
$_dialectType
$_type @codingStandardsIgnoreStart

공개 메소드들

메소드 설명
connect ( array $descriptor = null ) : boolean This method is automatically called in \Phalcon\Db\Adapter\Pdo constructor.
describeColumns ( string $table, string $schema = null ) : Phalcon\Db\ColumnInterface[] Returns an array of \Phalcon\Db\Column objects describing a table.
getDefaultIdValue ( ) : Phalcon\Db\RawValue Return the default identity value to insert in an identity column.
lastInsertId ( string $sequenceName = null ) : integer Returns the insert id for the auto_increment/serial column inserted in the latest executed SQL statement.
supportSequences ( ) : boolean Check whether the database system requires a sequence to produce auto-numeric values.
useExplicitIdValue ( ) : boolean Check whether the database system requires an explicit value for identity columns;

메소드 상세

connect() 공개 메소드

Call it when you need to restore a database connection.
public connect ( array $descriptor = null ) : boolean
$descriptor array
리턴 boolean

describeColumns() 공개 메소드

var_dump($connection->describeColumns('posts'));
public describeColumns ( string $table, string $schema = null ) : Phalcon\Db\ColumnInterface[]
$table string
$schema string
리턴 Phalcon\Db\ColumnInterface[]

getDefaultIdValue() 공개 메소드

Return the default identity value to insert in an identity column.
public getDefaultIdValue ( ) : Phalcon\Db\RawValue
리턴 Phalcon\Db\RawValue

lastInsertId() 공개 메소드

Inserting a new robot $success = $connection->insert( 'robots', ['Astro Boy', 1952], ['name', 'year'], ); Getting the generated id $id = $connection->lastInsertId();
public lastInsertId ( string $sequenceName = null ) : integer
$sequenceName string
리턴 integer

supportSequences() 공개 메소드

Check whether the database system requires a sequence to produce auto-numeric values.
public supportSequences ( ) : boolean
리턴 boolean

useExplicitIdValue() 공개 메소드

Check whether the database system requires an explicit value for identity columns;
public useExplicitIdValue ( ) : boolean
리턴 boolean

프로퍼티 상세

$_dialectType 보호되어 있는 프로퍼티

protected $_dialectType

$_type 보호되어 있는 프로퍼티

@codingStandardsIgnoreStart
protected $_type