We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e1b082 commit f141c36Copy full SHA for f141c36
src/Build/QueryBuilderTrait.php
@@ -200,7 +200,7 @@ public function whereInBetween($attribute): string|null
200
201
public function whereLike($attribute): string|null
202
{
203
- return $attribute['col'] . $this->syntax->getCommand('like', 1) . (new ValueBuilder(['%' . $attribute['like'] . '%']))->getAsOneLine();
+ return $attribute['col'] . $this->syntax->getCommand('like', 1) . (new ValueBuilder(["'%" . $attribute['like'] . "%'"]))->getAsOneLine();
204
}
205
206
public function whereFromColumnTable($attribute)
0 commit comments