sqlite path can't resolve " "
xyyaya opened this issue · 1 comments
xyyaya commented
When I connect a sqlite database with " ", it will not connect correctly.
such as:
orm.connect("sqlite://D:/Program Files/test.sqlite", function(err) { //it will throw an error });
I think fix orm/lib/Drivers/DML/sqlite.js:29 like
this.db = new sqlite3.Database(decodeURIComponent((config.host ? config.host + ":" : "")
may help solve the problem