改名
This commit is contained in:
@@ -71,6 +71,8 @@ class SqlBuilder extends Component
|
|||||||
public function mathematics(array $attributes, $opera = '+'): bool|array
|
public function mathematics(array $attributes, $opera = '+'): bool|array
|
||||||
{
|
{
|
||||||
$string = $array = [];
|
$string = $array = [];
|
||||||
|
|
||||||
|
var_dump($attributes);
|
||||||
foreach ($attributes as $attribute => $value) {
|
foreach ($attributes as $attribute => $value) {
|
||||||
$string[] = $attribute . '=' . $attribute . $opera . $value;
|
$string[] = $attribute . '=' . $attribute . $opera . $value;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user