Added new method for add where sql statement and after make query operation

This commit is contained in:
Antonio de la Rosa 2016-09-06 05:59:24 +02:00
parent c4a7f65833
commit 0bfcff6b42

View file

@ -1602,6 +1602,15 @@ class Webmodel {
} }
public function where($where_sql)
{
$this->set_conditions($where_sql);
return $this;
}
/** /**
* A helper function for obtain an associative array from a result of $this->select * A helper function for obtain an associative array from a result of $this->select
* *