@malloydata/malloy 0.0.38-dev230606045241 → 0.0.38-dev230606235314
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/malloy.d.ts +4 -0
- package/dist/malloy.js +7 -0
- package/dist/model/malloy_types.d.ts +1 -0
- package/package.json +1 -1
package/dist/malloy.d.ts
CHANGED
|
@@ -397,6 +397,10 @@ export declare class PreparedResult {
|
|
|
397
397
|
*/
|
|
398
398
|
get resultExplore(): Explore;
|
|
399
399
|
get sourceExplore(): Explore;
|
|
400
|
+
/**
|
|
401
|
+
* @return The query timezone.
|
|
402
|
+
*/
|
|
403
|
+
get queryTimezone(): string | undefined;
|
|
400
404
|
get _sourceExploreName(): string;
|
|
401
405
|
get _sourceFilters(): FilterExpression[];
|
|
402
406
|
}
|
package/dist/malloy.js
CHANGED
|
@@ -224,6 +224,7 @@ class Malloy {
|
|
|
224
224
|
// TODO feature-sql-block There is no source explore...
|
|
225
225
|
sourceExplore: '',
|
|
226
226
|
sourceFilters: [],
|
|
227
|
+
queryTimezone: sqlStruct.queryTimezone,
|
|
227
228
|
}, {
|
|
228
229
|
name: 'empty_model',
|
|
229
230
|
exports: [],
|
|
@@ -725,6 +726,12 @@ class PreparedResult {
|
|
|
725
726
|
}
|
|
726
727
|
throw new Error(`'${name} is not an explore`);
|
|
727
728
|
}
|
|
729
|
+
/**
|
|
730
|
+
* @return The query timezone.
|
|
731
|
+
*/
|
|
732
|
+
get queryTimezone() {
|
|
733
|
+
return this.inner.queryTimezone;
|
|
734
|
+
}
|
|
728
735
|
get _sourceExploreName() {
|
|
729
736
|
return this.inner.sourceExplore;
|
|
730
737
|
}
|
|
@@ -519,6 +519,7 @@ export interface CompiledQuery extends DrillSource {
|
|
|
519
519
|
malloy: string;
|
|
520
520
|
queryName?: string | undefined;
|
|
521
521
|
connectionName: string;
|
|
522
|
+
queryTimezone?: string;
|
|
522
523
|
}
|
|
523
524
|
/** Result type for running a Malloy query. */
|
|
524
525
|
export interface QueryResult extends CompiledQuery {
|