This commit is contained in:
2023-10-24 17:22:29 +08:00
parent b0e627c4fb
commit dcf4e0a614
12 changed files with 11 additions and 27 deletions
-3
View File
@@ -648,9 +648,6 @@ trait QueryTrait
*/
public function pushParam(mixed $value): static
{
// if (is_string($value)) {
// $value = addslashes($value);
// }
$this->attributes[] = $value;
return $this;
}
+4
View File
@@ -6,6 +6,10 @@ namespace Database\Traits;
interface Relation
{
/**
* @return mixed
*/
public function get(): mixed;
}