@@ -363,7 +363,7 @@ function parseDates(result: any) {
363363}
364364
365365export function getJsonQuery ( metaConfig : any , args : Record < string , any > , infos : GraphQLResolveInfo ) {
366- const { where, limit, offset, timezone, orderBy, renewQuery, ungrouped, cache } = args ;
366+ const { where, limit, offset, timezone, orderBy, renewQuery, ungrouped, cacheMode } = args ;
367367
368368 const measures : string [ ] = [ ] ;
369369 const dimensions : string [ ] = [ ] ;
@@ -461,7 +461,7 @@ export function getJsonQuery(metaConfig: any, args: Record<string, any>, infos:
461461 ...( timezone && { timezone } ) ,
462462 ...( filters . length && { filters } ) ,
463463 ...( renewQuery && { renewQuery } ) ,
464- ...( cache && { cache } ) ,
464+ ...( cacheMode && { cacheMode } ) ,
465465 ...( ungrouped && { ungrouped } ) ,
466466 } ;
467467}
@@ -640,7 +640,7 @@ export function makeSchema(metaConfig: any): GraphQLSchema {
640640 offset : intArg ( ) ,
641641 timezone : stringArg ( ) ,
642642 renewQuery : booleanArg ( ) ,
643- cache : stringArg ( ) ,
643+ cacheMode : stringArg ( ) ,
644644 ungrouped : booleanArg ( ) ,
645645 orderBy : arg ( {
646646 type : 'RootOrderByInput'
0 commit comments