Exemplo n.º 1
0
 /**
  * Performs an instant DELETE, returning the statement.
  *
  * @param string $tableName 	The table name.
  * @param string $where		    An SQL substring of the WHERE clause.
  * @param mixed $binds		    (Optional) The binds or a single bind for 
  *                              the WHERE clause.
  *
  * @return AMysql_Statement
  **/
 public function del($tableName, $where, $binds = array())
 {
     $stmt = new AMysql_Statement($this);
     $stmt->delete($tableName, $where);
     $stmt->execute($binds);
     return $stmt;
 }