SQL expression rewrite, Pagination, some frontend stuff
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace Core\Driver\SQL\Condition;
|
||||
|
||||
use Core\Driver\SQL\SQL;
|
||||
|
||||
class CondNull extends Condition {
|
||||
|
||||
private string $column;
|
||||
@@ -11,4 +13,8 @@ class CondNull extends Condition {
|
||||
}
|
||||
|
||||
public function getColumn(): string { return $this->column; }
|
||||
|
||||
function getExpression(SQL $sql, array &$params): string {
|
||||
return $sql->columnName($this->getColumn()) . " IS NULL";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user