added _groupBy for sql builder