Skip to content

Commit 8142126

Browse files
authored
Export some trino connection types (#2042)
1 parent fff2ee9 commit 8142126

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

packages/malloy-db-trino/src/index.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2222
*/
2323

24-
export {TrinoConnection} from './trino_connection';
25-
export {PrestoConnection} from './trino_connection';
24+
export type {BaseRunner} from './trino_connection';
25+
export {
26+
PrestoConnection,
27+
PrestoExplainParser,
28+
TrinoConnection,
29+
TrinoPrestoConnection,
30+
} from './trino_connection';
2631
export {TrinoExecutor} from './trino_executor';

packages/malloy-db-trino/src/trino_connection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ export class TrinoConnection extends TrinoPrestoConnection {
618618
* ARRAY_TYPE: ARRAY '(' TYPE ')'
619619
* REC_TYPE: REC '(' "name" TYPE (, "name" TYPE)* ')'
620620
*/
621-
class PrestoExplainParser extends TinyParser {
621+
export class PrestoExplainParser extends TinyParser {
622622
constructor(
623623
readonly input: string,
624624
readonly dialect: Dialect

0 commit comments

Comments
 (0)