class
Illuminate
/
Database
/
PDO
/
SqlServerConnection
SqlServerConnection
Implements
- Doctrine\...\ServerInfoAwareConnection
Properties
Methods
public
__construct ( Connection $connection ) : void
Create a new SQL Server connection instance.
Parameters
- $connection Connection
public
prepare ( string $sql ) : Doctrine\...\Statement
Prepare a new SQL statement.
Parameters
- $sql string
public
query ( string $sql ) : Doctrine\...\Result
Execute a new query against the connection.
Parameters
- $sql string
public
exec ( string $statement ) : int
Execute an SQL statement.
Parameters
- $statement string
public
lastInsertId ( $name ) : mixed
Get the last insert ID.
Parameters
- $name string|null
public
beginTransaction ( ) : bool
Begin a new database transaction.
public
commit ( ) : bool
Commit a database transaction.
public
rollBack ( ) : bool
Rollback a database transaction.
public
quote ( $value , $type ) : string
Wrap quotes around the given input.
Parameters
- $value string
- $type int
public
getServerVersion ( ) : string
Get the server version for the connection.