Skip to content

Commit

Permalink
get tests to pass on ACF11
Browse files Browse the repository at this point in the history
  • Loading branch information
aliaspooryorik authored and elpete committed Mar 8, 2017
1 parent e2c8cb2 commit aadb1f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions models/Query/Grammars/MSSQLGrammar.cfc
Expand Up @@ -5,7 +5,7 @@ component extends="qb.models.Query.Grammars.Grammar" {
"groups", "havings", "orders", "offsetValue", "limitValue"
];

private string function compileOffsetValue( required Builder query, offsetValue ) {
private string function compileOffsetValue( required qb.models.Query.Builder query, offsetValue ) {
if ( isNull( query.getOffsetValue() ) && isNull( query.getLimitValue() ) ) {
return "";
}
Expand All @@ -17,11 +17,11 @@ component extends="qb.models.Query.Grammars.Grammar" {
return "OFFSET #offsetValue# ROWS";
}

private string function compileLimitValue( required Builder query, limitValue ) {
private string function compileLimitValue( required qb.models.Query.Builder query, limitValue ) {
if ( isNull( arguments.limitValue ) ) {
return "";
}
return "FETCH NEXT #limitValue# ROWS ONLY";
}

}
}

0 comments on commit aadb1f8

Please sign in to comment.