src/flowcode/ceibo/builder/QueryBuilder.php
public static function buildDeleteRelationQuery(Relation $relation) {
        $query = "DELETE FROM `" . $relation->getTable() . "` ";
        $query .= "WHERE " . $relation->getLocalColumn() . " = :id;";
        return $query;
    }
public static function buildDeleteRelationQuery(Relation $relation) {
        $query = "DELETE FROM `" . $relation->getTable() . "` ";
        $query .= "WHERE " . $relation->getLocalColumn() . " = :id;";
        return $query;
    }
public static function buildDeleteRelationQuery ( Relation $ relation ) { $ query = "DELETE FROM `" . $ relation -> getTable ( ) . "` " ; $ query .= "WHERE " . $ relation -> getLocalColumn ( ) . " = :id;" ; return $ query ; }
Build a delete query for a relation.
@param type $relation
@return string
Build a delete query for a relation .