system/classes/Database.php
public function where($conditions, $value = false, $comparison = '=')
    {
        $this->store('condition', 'wheres', $conditions, $value, $comparison);
        return $this;
    }
public function where($conditions, $value = false, $comparison = '=')
    {
        $this->store('condition', 'wheres', $conditions, $value, $comparison);
        return $this;
    }
WHERE array format:
[
[
[
['amount', '>', '1000'],
['savings', '>', '100']
],
'AND'
]
]