Added new method for add where sql statement and after make query operation
This commit is contained in:
parent
c4a7f65833
commit
0bfcff6b42
1 changed files with 9 additions and 0 deletions
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue