Interface ConnectionInterface

Summary

Fully Qualified Name: Laminas\Db\Adapter\Driver\ConnectionInterface

Description

Methods

Name Description Defined By
beginTransaction() Begin transaction ConnectionInterface
commit() Commit ConnectionInterface
connect() Connect ConnectionInterface
disconnect() Disconnect ConnectionInterface
execute() Execute ConnectionInterface
getCurrentSchema() Get current schema ConnectionInterface
getLastGeneratedValue() Get last generated id ConnectionInterface
getResource() Get resource ConnectionInterface
isConnected() Is connected ConnectionInterface
rollback() Rollback ConnectionInterface

Method Details

beginTransaction()

Begin transaction

Returns: \ConnectionInterface

commit()

Commit

Returns: \ConnectionInterface

connect()

Connect

Returns: \ConnectionInterface

disconnect()

Disconnect

Returns: \ConnectionInterface

execute()

Execute

Parameter Name Type Description
$sql string

Returns: \ResultInterface

getCurrentSchema()

Get current schema

Returns: string

getLastGeneratedValue()

Get last generated id

Parameter Name Type Description
$name null Ignored

Returns: int

getResource()

Get resource

Returns: mixed

isConnected()

Is connected

Returns: bool

rollback()

Rollback

Returns: \ConnectionInterface

Top