File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
packages/cubejs-backend-native/js Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11import { getCubestoreResult , ResultRow } from './index' ;
22
3- export class CubeStoreResultWrapper {
3+ export class ResultWrapper {
44 private readonly proxy : any ;
55
66 private cache : any ;
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ import fs from 'fs';
33import path from 'path' ;
44import { Writable } from 'stream' ;
55import type { Request as ExpressRequest } from 'express' ;
6- import { CubeStoreResultWrapper } from './CubeStoreResultWrapper ' ;
6+ import { ResultWrapper } from './ResultWrapper ' ;
77
8- export * from './CubeStoreResultWrapper ' ;
8+ export * from './ResultWrapper ' ;
99
1010export interface BaseMeta {
1111 // postgres or mysql
@@ -363,14 +363,14 @@ export const buildSqlAndParams = (cubeEvaluator: any): String => {
363363
364364export type ResultRow = Record < string , string > ;
365365
366- export const parseCubestoreResultMessage = async ( message : ArrayBuffer ) : Promise < CubeStoreResultWrapper > => {
366+ export const parseCubestoreResultMessage = async ( message : ArrayBuffer ) : Promise < ResultWrapper > => {
367367 const native = loadNative ( ) ;
368368
369369 const msg = await native . parseCubestoreResultMessage ( message ) ;
370- return new CubeStoreResultWrapper ( msg ) ;
370+ return new ResultWrapper ( msg ) ;
371371} ;
372372
373- export const getCubestoreResult = ( ref : CubeStoreResultWrapper ) : ResultRow [ ] => {
373+ export const getCubestoreResult = ( ref : ResultWrapper ) : ResultRow [ ] => {
374374 const native = loadNative ( ) ;
375375
376376 return native . getCubestoreResult ( ref ) ;
You can’t perform that action at this time.
0 commit comments