function dropRule($rule, $relation, $cascade) { $f_schema = $this->_schema; $this->fieldClean($f_schema); $this->fieldClean($rule); $this->fieldClean($relation); $sql = "DROP RULE \"{$rule}\" ON \"{$f_schema}\".\"{$relation}\""; if ($cascade) { $sql .= " CASCADE"; } return $this->execute($sql); }