- WIP on Collation
This commit is contained in:
1 parent
b601939459
commit
b5e96eb7e0
8 files changed
+61
-11
No files matched your search
@@ -260,7 +260,7 @@ class MysqlQueryBuilder extends SqlQueryBuilder
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function orderBy(string|\Stringable $field, ? string $direction = null) : self
|
||||
public function orderBy(string|\Stringable $field, null|string|\Stringable $direction = null) : self
|
||||
{
|
||||
if ( null === $orderBy = $this->getFragment(Query\OrderBy::class) ) {
|
||||
$orderBy = new Query\OrderBy();
|
||||
@@ -272,7 +272,7 @@ class MysqlQueryBuilder extends SqlQueryBuilder
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function groupBy(string|object $field) : self
|
||||
public function groupBy(string|\Stringable $field) : self
|
||||
{
|
||||
if ( null === $groupBy = $this->getFragment(Query\GroupBy::class) ) {
|
||||
$groupBy = new Query\GroupBy();
|
||||
|
||||
Reference in new issue
Block a user