This commit is contained in:
2021-02-25 18:03:58 +08:00
parent ece94ed1cb
commit 0455b89a44
+2
View File
@@ -71,6 +71,8 @@ class SqlBuilder extends Component
public function mathematics(array $attributes, $opera = '+'): bool|array
{
$string = $array = [];
var_dump($attributes);
foreach ($attributes as $attribute => $value) {
$string[] = $attribute . '=' . $attribute . $opera . $value;
}