borra tabla temporal
gitea/salix/dev This commit looks good
Details
gitea/salix/dev This commit looks good
Details
This commit is contained in:
parent
9bfc87f1e2
commit
3e71338d94
|
@ -30,10 +30,12 @@ module.exports = Self => {
|
||||||
|
|
||||||
stmts.push(new ParameterizedSQL('CALL vn.subordinateGetList(?)', [myWorker.id]));
|
stmts.push(new ParameterizedSQL('CALL vn.subordinateGetList(?)', [myWorker.id]));
|
||||||
stmts.push('SELECT * FROM tmp.subordinate');
|
stmts.push('SELECT * FROM tmp.subordinate');
|
||||||
|
stmts.push('DROP TEMPORARY TABLE tmp.subordinate');
|
||||||
|
|
||||||
let sql = ParameterizedSQL.join(stmts, ';');
|
let sql = ParameterizedSQL.join(stmts, ';');
|
||||||
let result = await conn.executeStmt(sql);
|
let result = await conn.executeStmt(sql);
|
||||||
|
|
||||||
|
|
||||||
return result[1];
|
return result[1];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue