/** * 执行一条删除语句 *+------------------------- * @param String $table 表名 * @param String $where 条件 * @return Boolean */ public function delete($table, $where = '') { return $this->query(Ada_Database_Query::deleteString($table, $where)); }
/** * 执行一条删除语句 *+------------------------- * @param String $table 表名 * @param String $where 条件 * @return Boolean */ public function delete($table, $where = NULL) { $this->dblink(); if (($this->affect = $this->identity->exec(Ada_Database_Query::deleteString($table, $where))) === FALSE) { $this->debug(); return FALSE; } return TRUE; }
/** * 执行一个删除语句 * @param String $table 数据库表名 * @param String $where 删除条件 * @return Bool */ public function delete($table, $where = NULL) { $this->dblink(); return $this->query(Ada_Database_Query::deleteString($table, $params, $where)); }