This commit is contained in:
2020-10-30 02:02:31 +08:00
parent 0589976909
commit b8dc336ad0
+1 -1
View File
@@ -134,7 +134,7 @@ abstract class Condition extends BaseObject
}
return $column . ' ' . $oprea . ' ' . $value;
} else {
$encode = '\'' . Str::encode($value) . '\'';
$encode = '\'' . Str::encode((string)$value) . '\'';
return $column . ' ' . $oprea . ' ' . $encode;
}
}