sphinxql
Version:
SphinxQL query builder for Node.JS. Supports Sphinx search(2.x and 3.x) and Manticore search
14 lines (10 loc) • 328 B
text/typescript
import StatementBuilderBase from '../StatementBuilderBase';
export default class GroupByExprStatement implements StatementBuilderBase {
protected columnExprs: string[];
constructor(columnExprs: string[]) {
this.columnExprs = columnExprs;
}
public build(): string {
return this.columnExprs.join(', ');
}
}