File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 15
15
16
16
/**
17
17
* Builds expressions for {@see JsonOverlapsCondition} for SQLite Server.
18
+ *
19
+ * @extends AbstractOverlapsConditionBuilder<JsonOverlapsCondition>
18
20
*/
19
21
final class JsonOverlapsConditionBuilder extends AbstractOverlapsConditionBuilder
20
22
{
Original file line number Diff line number Diff line change 5
5
namespace Yiisoft \Db \Sqlite \Builder ;
6
6
7
7
use Yiisoft \Db \Exception \NotSupportedException ;
8
- use Yiisoft \Db \QueryBuilder \ Condition \ Interface \ LikeConditionInterface ;
8
+ use Yiisoft \Db \Expression \ ExpressionInterface ;
9
9
use Yiisoft \Db \QueryBuilder \QueryBuilderInterface ;
10
10
11
11
/**
@@ -20,7 +20,7 @@ public function __construct(QueryBuilderInterface $queryBuilder)
20
20
parent ::__construct ($ queryBuilder , $ this ->getEscapeSql ());
21
21
}
22
22
23
- public function build (LikeConditionInterface $ expression , array &$ params = []): string
23
+ public function build (ExpressionInterface $ expression , array &$ params = []): string
24
24
{
25
25
if ($ expression ->getCaseSensitive () === true ) {
26
26
throw new NotSupportedException ('SQLite doesn \'t support case-sensitive "LIKE" conditions. ' );
You can’t perform that action at this time.
0 commit comments