Changed namespaces and added Query Builder

Co-authored-by: Juan Pablo Vial <jpvial@goacegroup.com>
Reviewed-on: #2
This commit is contained in:
2025-09-30 17:34:06 -03:00
parent 1bd3ccb8db
commit f6937c3aee
29 changed files with 555 additions and 178 deletions

20
tests/SQLiteTest.php Normal file
View File

@ -0,0 +1,20 @@
<?php
use PHPUnit\Framework\TestCase;
use Database\Implement\SQLite;
class SQLiteTest extends TestCase
{
public function testDatabase()
{
$host = ":memory:";
$dsn = "sqlite:{$host}";
$database = new SQLite();
$database->setHost($host);
$this->assertEquals($host, $database->getHost());
$this->assertFalse($database->needsUser());
$this->assertEquals($dsn, $database->getDsn());
}
}