This commit is contained in:
2020-10-29 18:17:25 +08:00
parent 6839b64be8
commit 53ae43b79b
198 changed files with 708 additions and 850 deletions
+4 -4
View File
@@ -1,5 +1,5 @@
<?php
declare(strict_types=1);
namespace Database\Condition;
@@ -14,15 +14,15 @@ use Snowflake\Core\Str;
abstract class Condition extends BaseObject
{
protected $column = '';
protected $opera = '=';
protected string $column = '';
protected string $opera = '=';
/** @var array|mixed */
protected $value;
const INT_TYPE = ['bit', 'bool', 'tinyint', 'smallint', 'mediumint', 'int', 'bigint', 'float', 'double', 'decimal', 'timestamp'];
protected $attributes = [];
protected array $attributes = [];
abstract public function builder();