limit source type to pg

This commit is contained in:
Fendy Heryanto
2026-01-23 04:19:28 +00:00
parent afd5d223af
commit 9bd3220844

View File

@@ -1,5 +1,6 @@
import { expect } from 'chai';
import 'mocha';
import { ClientType } from 'nocodb-sdk';
import { initInitialModel } from '../initModel';
import NcConnectionMgrv2 from '~/utils/common/NcConnectionMgrv2';
import { PGDBQueryClient } from '~/dbQueryClient/pg';
@@ -27,6 +28,9 @@ function pgTemporaryTableTest() {
});
it(`will generate a temporary table`, async () => {
if (_source!.type !== ClientType.PG) {
return;
}
const data = [
{ id: 1, foo: 'foo1', bar: 'bar1' },
{ id: 2, foo: 'foo2', bar: 'bar2' },