mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-30 06:53:58 +00:00
export CSV from mysql test
This commit is contained in:
@@ -84,6 +84,10 @@ const driver = {
|
||||
|
||||
return query;
|
||||
},
|
||||
readableStream(connection, sql) {
|
||||
const query = connection.query(sql);
|
||||
return query.stream({ highWaterMark: 100 });
|
||||
},
|
||||
async getVersion(connection) {
|
||||
const { rows } = await this.query(connection, "show variables like 'version'");
|
||||
const version = rows[0].Value;
|
||||
|
||||
Reference in New Issue
Block a user