/** * SQLite does not quote numeric values so we need to overide the quoting mechanism */ public function quote($value, $type = null) { if (is_numeric($value)) { return $value; } else { return parent::quote($value, $type); } }