blob: 91cabcf10e9ae2295f5ae5d08824361c889221e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<?php
require_once 'QueryBuilder.php';
class SQLiteQueryBuilder extends QueryBuilder
{
public function isNotNull($query)
{
return " IIF({$query}, true, false) ";
}
public function left($query, $length)
{
$endIndex = $length + 1;
return " SUBSTRING({$query}, 0, {$endIndex}) ";
}
}
|