mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 23:35:59 +00:00
fix identity test
This commit is contained in:
@@ -195,7 +195,7 @@ describe('Query', () => {
|
||||
};
|
||||
await runCommandOnDriver(conn, driver, dmp => dmp.createTable(table));
|
||||
await runCommandOnDriver(conn, driver, dmp => dmp.put("INSERT INTO ~t1 (~val) VALUES ('aaa')"));
|
||||
const res = await runQueryOnDriver(conn, driver, dmp => dmp.selectScopeIdentity());
|
||||
const res = await runQueryOnDriver(conn, driver, dmp => dmp.selectScopeIdentity(table));
|
||||
const row = res.rows[0];
|
||||
const keys = Object.keys(row);
|
||||
expect(keys.length).toEqual(1);
|
||||
|
||||
Reference in New Issue
Block a user