MagiQL suports other databases, fix DB drivers

v2-beta
Bruno O. Notario 9 months ago
parent b1d7cce055
commit 269de10370
Signed by: oliveira131
GPG Key ID: 76CAD698D3EA8F58
  1. 45
      system/MagiQL/Builder/Syntax/Adapt/MSSQL/SelectWriter.php
  2. 41
      system/MagiQL/Builder/Syntax/Adapt/Oracle/SelectWriter.php
  3. 39
      system/MagiQL/Builder/Syntax/Adapt/PostgreSQL/SelectWriter.php
  4. 56
      system/MagiQL/Builder/Syntax/Adapt/PostgreSQL/UpdateWriter.php
  5. 42
      system/MagiQL/Builder/Syntax/WriterFactory.php
  6. 10
      system/MagiQL/MagiQL.php
  7. 2
      system/database/Databases/Driver/MySQL_PDO.php
  8. 6
      system/database/Databases/Driver/Oracle.php
  9. 31
      system/database/Databases/Driver/Postgre.php
  10. 57
      system/database/Databases/Driver/SQLSRV.php
  11. 75
      system/database/Databases/Driver/SQLite3.php
  12. 2
      system/encryption/autoload.php
  13. 13
      system/engine/registry.php
  14. 6
      system/system.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

@ -22,7 +22,7 @@ class MagiQL extends Builder {
/** /**
* *
* @var \Phacil\Framework\Database * @var \Phacil\Framework\Api\Database
*/ */
private $db; private $db;
@ -54,6 +54,14 @@ class MagiQL extends Builder {
return $this->db->execute($query, $values); return $this->db->execute($query, $values);
} }
/**
*
* @return \Phacil\Framework\Api\Database
*/
public function getDb() {
return $this->db;
}
/** /**
* @param string $tableName * @param string $tableName
* @return bool * @return bool

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save