MagiQL AbstractBuilder and fix sqlsrv driver

v2-beta
Bruno O. Notario 8 months ago
parent 90b59d5a45
commit ee7865c7ae
Signed by: oliveira131
GPG Key ID: 76CAD698D3EA8F58
  1. 90
      system/MagiQL/Builder/AbstractBuilder.php
  2. 36
      system/MagiQL/Builder/Syntax/Adapt/SQLite3/UpdateWriter.php
  3. 52
      system/MagiQL/Builder/Syntax/ColumnWriter.php
  4. 5
      system/MagiQL/Builder/Syntax/WriterFactory.php
  5. 12
      system/MagiQL/MagiQL.php
  6. 2
      system/database/Databases/Driver/SQLSRV.php
  7. 3
      system/database/Databases/Object/Result.php
  8. 3
      system/database/Databases/Object/ResultCacheIterator.php

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -123,6 +123,9 @@ class Result extends \ArrayIterator implements ResultInterface {
* {@inheritdoc}
*/
public function getNumRows(){
if(!$this->num_rows)
$this->num_rows = $this->count();
return $this->num_rows;
}

@ -109,6 +109,9 @@ class ResultCacheIterator extends \CachingIterator implements ResultInterface {
*/
public function getRows()
{
if (!$this->num_rows)
$this->num_rows = $this->Iterator->count();
return $this->rows;
}

Loading…
Cancel
Save