From aadb1f8a99f8db4d78b37c5a616cf959ccfdb323 Mon Sep 17 00:00:00 2001 From: aliaspooryorik Date: Tue, 7 Mar 2017 22:00:49 +0000 Subject: [PATCH] get tests to pass on ACF11 --- models/Query/Grammars/MSSQLGrammar.cfc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/models/Query/Grammars/MSSQLGrammar.cfc b/models/Query/Grammars/MSSQLGrammar.cfc index cb9c39a4..6241ac0d 100644 --- a/models/Query/Grammars/MSSQLGrammar.cfc +++ b/models/Query/Grammars/MSSQLGrammar.cfc @@ -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 ""; } @@ -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"; } -} \ No newline at end of file +}