wattanar/sqlsrv

library help you query easier with sqlsrv

3.1.0 2017-06-29 02:04 UTC

README

{
  "require" : {
    "wattanar/sqlsrv" : "dev-master"
  }
}

Usage

use Wattanar\Sqlsrv;

$connection = Sqlsrv::connect($server, $username, $password, $database)
$rows = Sqlsrv::rows($connection, $query, array $params = null)
$hasRows = Sqlsrv::hasRows($connection, $query, array $params = null)
$query = Sqlsrv::query($connection, $query, array $params = null)