mirror of
https://github.com/dg/dibi.git
synced 2025-08-20 04:41:26 +02:00
SqlsrvDriver::applyLimit(): fixed limit and offset behaviour for odbc 11+
SqlsrvReflector: changed constrains metadata loading from INFORMATION_SCHEMA to sys schema to get complete list of all constraints, not PK only
This commit is contained in:
@@ -28,7 +28,7 @@ Assert::equal([
|
||||
|
||||
|
||||
// more complex association array
|
||||
if ($config['system'] !== 'odbc') {
|
||||
if (!in_array($config['system'], ['odbc', 'sqlsrv'])) {
|
||||
$res = $conn->select(['products.title' => 'title', 'customers.name' => 'name'])->select('orders.amount')->as('amount')
|
||||
->from('products')
|
||||
->innerJoin('orders')->using('(product_id)')
|
||||
|
Reference in New Issue
Block a user