- Started working on decoupling QueryBuilder from SqlQueryBuilder
- WIP on SearchRequest attributes - Began working on removing 'Ulmus' class - WIP on removing SQL query building from Repository (which will become SqlRepository)
This commit is contained in:
1 parent
4571517dc8
commit
9fdebf454d
21 files changed
+114
-127
No files matched your search
@@ -2,20 +2,18 @@
|
||||
|
||||
namespace Ulmus\QueryBuilder;
|
||||
|
||||
use Ulmus\Query;
|
||||
use Ulmus\Query\Fragment;
|
||||
use Ulmus\Query\QueryBuilderInterface;
|
||||
use Ulmus\Query\QueryFragmentInterface;
|
||||
|
||||
# TODO -> Extract from MysqlQueryBuilder to build an ISO/IEC 9075:2023 compatible layer for a basic SQL QueryBuilder
|
||||
class SqlQueryBuilder implements Query\QueryBuilderInterface
|
||||
class SqlQueryBuilder implements QueryBuilderInterface
|
||||
{
|
||||
|
||||
public function push(Fragment $queryFragment): Query\QueryBuilderInterface
|
||||
public function push(QueryFragmentInterface $queryFragment): QueryBuilderInterface
|
||||
{
|
||||
// TODO: Implement push() method.
|
||||
}
|
||||
|
||||
public function pull(Fragment $queryFragment): Query\QueryBuilderInterface
|
||||
public function pull(QueryFragmentInterface $queryFragment): QueryBuilderInterface
|
||||
{
|
||||
// TODO: Implement pull() method.
|
||||
}
|
||||
@@ -30,12 +28,12 @@ class SqlQueryBuilder implements Query\QueryBuilderInterface
|
||||
// TODO: Implement reset() method.
|
||||
}
|
||||
|
||||
public function getFragment(string $class, int $index = 0): ?Fragment
|
||||
public function getFragment(string $class, int $index = 0): ?QueryFragmentInterface
|
||||
{
|
||||
// TODO: Implement getFragment() method.
|
||||
}
|
||||
|
||||
public function removeFragment(Fragment|\Stringable|array|string $fragment): void
|
||||
public function removeFragment(QueryFragmentInterface|\Stringable|array|string $fragment): void
|
||||
{
|
||||
// TODO: Implement removeFragment() method.
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user