protected function isOneToMany($tableName, $columnName)
    {
        $query = $this->getRelationTypeQuery($tableName, $columnName);
        $result = DB::select($query);

        return isset($result[0]);
    }
protected function isOneToMany($tableName, $columnName)
    {
        $query = $this->getRelationTypeQuery($tableName, $columnName);
        $result = DB::select($query);

        return isset($result[0]);
    }
protected function isOneToMany ( $ tableName , $ columnName ) { $ query = $ this -> getRelationTypeQuery ( $ tableName , $ columnName ) ; $ result = DB :: select ( $ query ) ; return isset ( $ result [ 0 ] ) ; }
Checks of the table has one-to-many relations

@return bool
Checks of the table has one - to - many relations