- WIP on first 'doc' and also minimal support for enums where added
This commit is contained in:
1 parent
497fe5547b
commit
d600908f47
22 files changed
+367
-35
No files matched your search
@@ -2,13 +2,14 @@
|
||||
|
||||
namespace Ulmus\Entity\Sqlite;
|
||||
|
||||
use Ulmus\ConnectionAdapter;
|
||||
use Ulmus\Repository;
|
||||
|
||||
class Table extends Schema
|
||||
{
|
||||
public static function repository(string $alias = Repository::DEFAULT_ALIAS): Repository
|
||||
public static function repository(string $alias = Repository::DEFAULT_ALIAS, ConnectionAdapter $adapter = null): Repository
|
||||
{
|
||||
return new class(static::class, $alias) extends Repository\SqliteRepository
|
||||
return new class(static::class, $alias, $adapter) extends Repository\SqliteRepository
|
||||
{
|
||||
public function finalizeQuery(): void
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user