We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 091ae93 commit a100d6aCopy full SHA for a100d6a
packages/cubejs-backend-native/js/CubeStoreResultWrapper.ts
@@ -5,6 +5,8 @@ export class CubeStoreResultWrapper {
5
6
private cache: any;
7
8
+ public cached: Boolean = false;
9
+
10
public constructor(private readonly nativeReference: any) {
11
this.proxy = new Proxy(this, {
12
get: (target, prop: string | symbol) => {
@@ -66,6 +68,7 @@ export class CubeStoreResultWrapper {
66
68
private getArray(): ResultRow[] {
67
69
if (!this.cache) {
70
this.cache = getCubestoreResult(this.nativeReference);
71
+ this.cached = true;
72
}
73
return this.cache;
74
0 commit comments