Skip to content
Snippets Groups Projects
Commit 303e82a3 authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

Sql_lib: SqlBuilder could not create a selectDistinctClause correctly

parent ede092c5
No related branches found
No related tags found
No related merge requests found
......@@ -993,7 +993,7 @@ SqlBuilder.prototype.select = function(pFields)
*/
SqlBuilder.prototype.selectDistinct = function (pFields)
{
this._select = this._getClause(pFields, "select distinct", true);
this._select = SqlBuilder._getStatement(pFields, "select distinct", undefined, true, true);
return this;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment