PHP 클래스 RedBeanPHP\Adapter\DBAdapter

저자: Gabor de Mooij and the RedBeanPHP Community.
상속: extends RedBeanPHP\Observable, implements RedBeanPHP\Adapter
파일 보기 프로젝트 열기: gabordemooij/redbean 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( RedBeanPHP\Driver $database ) Constructor.
close ( )
commit ( )
exec ( $sql, $bindings = [], $noevent = FALSE )
get ( $sql, $bindings = [] )
getAffectedRows ( )
getAssoc ( $sql, $bindings = [] )
getAssocRow ( $sql, $bindings = [] )
getCell ( $sql, $bindings = [], $noSignal = NULL )
getCol ( $sql, $bindings = [] )
getCursor ( $sql, $bindings = [] )
getDatabase ( )
getInsertID ( )
getRow ( $sql, $bindings = [] )
getSQL ( ) : string Returns a string containing the most recent SQL query processed by the database adapter, thus conforming to the interface:
rollback ( )
startTransaction ( )

메소드 상세

__construct() 공개 메소드

Creates an instance of the RedBean Adapter Class. This class provides an interface for RedBean to work with ADO compatible DB instances.
public __construct ( RedBeanPHP\Driver $database )
$database RedBeanPHP\Driver ADO Compatible DB Instance

close() 공개 메소드

public close ( )

commit() 공개 메소드

또한 보기: Adapter::commit
public commit ( )

exec() 공개 메소드

또한 보기: Adapter::exec
public exec ( $sql, $bindings = [], $noevent = FALSE )

get() 공개 메소드

또한 보기: Adapter::get
public get ( $sql, $bindings = [] )

getAffectedRows() 공개 메소드

또한 보기: Adapter::getAffectedRows
public getAffectedRows ( )

getAssoc() 공개 메소드

또한 보기: Adapter::getAssoc
public getAssoc ( $sql, $bindings = [] )

getAssocRow() 공개 메소드

또한 보기: Adapter::getAssocRow
public getAssocRow ( $sql, $bindings = [] )

getCell() 공개 메소드

또한 보기: Adapter::getCell
public getCell ( $sql, $bindings = [], $noSignal = NULL )

getCol() 공개 메소드

또한 보기: Adapter::getCol
public getCol ( $sql, $bindings = [] )

getCursor() 공개 메소드

또한 보기: Adapter::getCursor
public getCursor ( $sql, $bindings = [] )

getDatabase() 공개 메소드

또한 보기: Adapter::getDatabase
public getDatabase ( )

getInsertID() 공개 메소드

또한 보기: Adapter::getInsertID
public getInsertID ( )

getRow() 공개 메소드

또한 보기: Adapter::getRow
public getRow ( $sql, $bindings = [] )

getSQL() 공개 메소드

Returns a string containing the most recent SQL query processed by the database adapter, thus conforming to the interface:
또한 보기: Adapter::getSQL Methods like get(), getRow() and exec() cause this SQL cache to get filled. If no SQL query has been processed yet this function will return an empty string.
public getSQL ( ) : string
리턴 string

rollback() 공개 메소드

또한 보기: Adapter::rollback
public rollback ( )

startTransaction() 공개 메소드

또한 보기: Adapter::startTransaction
public startTransaction ( )