public function implodeSqlClauses($clauses, $glue = ',')
    {
        $statements = [];

        foreach($clauses as $clause){
            $statements[] = $clause->getSql($this);
        }

        return implode($statements, $glue);
    }
public function implodeSqlClauses($clauses, $glue = ',')
    {
        $statements = [];

        foreach($clauses as $clause){
            $statements[] = $clause->getSql($this);
        }

        return implode($statements, $glue);
    }
public function implodeSqlClauses ( $ clauses , $ glue = ',' ) { $ statements = [ ] ; foreach ( $ clauses as $ clause ) { $ statements [ ] = $ clause -> getSql ( $ this ) ; } return implode ( $ statements , $ glue ) ; }
Utility function to implode a sequence of Sql clauses with glue.

@param $clauses
@param string $glue
@return mixed
Utility function to implode a sequence of Sql clauses with glue .