mirror of https://github.com/Fabio286/antares.git
Update version
This commit is contained in:
parent
4a83ae7e75
commit
ac01511c10
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "antares",
|
||||
"productName": "Antares",
|
||||
"version": "0.0.2-alpha",
|
||||
"version": "0.0.3-alpha",
|
||||
"description": "A cross-platform easy to use SQL client.",
|
||||
"license": "MIT",
|
||||
"repository": "https://github.com/EStarium/antares.git",
|
||||
|
|
|
@ -20,6 +20,7 @@ export class AntaresConnector {
|
|||
this._params = args.params;
|
||||
this._poolSize = args.poolSize || false;
|
||||
this._connection = null;
|
||||
this._logger = args.logger || console.log;
|
||||
|
||||
this._queryDefaults = {
|
||||
schema: '',
|
||||
|
@ -247,7 +248,7 @@ export class AntaresConnector {
|
|||
* @memberof AntaresConnector
|
||||
*/
|
||||
async raw (sql) {
|
||||
if (process.env.NODE_ENV === 'development') console.log(sql);
|
||||
if (process.env.NODE_ENV === 'development') this._logger(sql);
|
||||
|
||||
switch (this._client) { // TODO: uniform fields with every client type, needed table name and fields array
|
||||
case 'maria':
|
||||
|
|
Loading…
Reference in New Issue