Closed vlucas closed 9 years ago
Excellent, thanks a lot! Could you just use single quotes instead of double quotes in if (connectionParams["dsn"])
, for a better code style homogeneity?
I can change it, sure - but I matched the style of the code on line 42 above it:
// By default run in ansiCompliant mode
if (connectionParams["ansiCompliant"] === undefined)
connectionParams["ansiCompliant"] = true;
Do you still want me to change it? I'd like to get this merged so I can deploy my app tonight if at all possible.
Merged ! Thanks a lot ! :-)
Thank you! :)
Let me know when you do another versioned release so I can use it via NPM!
Adds support for passing a DSN string instead of user/pass/database, etc. with the "dsn" key. The config is still kept in JSON in order to keep other uses of the JSON config like
JSON.Stringify
on debug, etc. and for maximum compatibility.