removed limitOffset and add returning in Pgsql class.