Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

when using lowercase mode, we will lowercase the given engine name too

  • Loading branch information...
commit a99711ecc78afe034069f032439b700a4feeef73 1 parent 265451f
@bu authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  index.js
  2. +1 −1  package.json
View
2  index.js
@@ -18,7 +18,7 @@ module.exports = function(table_name, database_engine) {
} catch(e) {
try {
- engine = require("accessor_" + database_engine);
+ engine = require("accessor_" + database_engine.toLowerCase() );
return returnInstance();
} catch(e) {
View
2  package.json
@@ -6,7 +6,7 @@
},
"name": "Accessor",
"description": "A database wrapper, provide easy access to databases",
- "version": "0.3.1",
+ "version": "0.3.2",
"homepage": "https://github.com/bu/Accessor",
"repository": {
"type": "git",
Please sign in to comment.
Something went wrong with that request. Please try again.