Update version

This commit is contained in:
Fabio 2020-07-24 17:34:39 +02:00
parent 4a83ae7e75
commit ac01511c10
2 changed files with 3 additions and 2 deletions

View File

@ -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",

View File

@ -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':