yii2tech/filedb

Unable to perform compare filtering

Closed this issue · 1 comments

QueryProcessor is unable to perform comparison via operators like <, > and so on.
Any attempt of usage causes UnknownMethodException: 'Calling unknown method: yii2tech\filedb\QueryProcessor::filterSimpleCondition()'

Unit test to reproduce:

$query = new Query();
$rows = $query->from('customer')
    ->where(['>', 'status', 5])
    ->all($connection);
$this->assertEquals(5, count($rows));

Resolved by commit e3be2b0