ee-mysql-connection
Advanced tools
Comparing version 0.2.1 to 0.3.0
@@ -10,5 +10,5 @@ !function(){ | ||
, moment = require('moment') | ||
, pluralize = require('pluralize') | ||
, typeCast = require('./typeCast') | ||
, Connection = require('ee-db-connection') //*/require('../../ee-db-connection') | ||
, QueryBuilder = require('ee-query-builder'); //*/require('../../ee-query-builder'); | ||
, QueryBuilder = require('ee-mysql-query-builder'); //*/require('../../ee-mysql-query-builder'); | ||
@@ -56,3 +56,3 @@ | ||
, password: this.options.password | ||
, typeCast: true | ||
, typeCast: typeCast | ||
, debug: false | ||
@@ -167,3 +167,4 @@ }); | ||
this.connection.query(sql, function(err, results){ | ||
this.connection.query(sql, function(err, results) { | ||
if (debug){ | ||
@@ -396,3 +397,3 @@ log.debug('query took «'+(Date.now()-start)+'» msec ...'); | ||
function(done){ | ||
function(done) { | ||
this.query({ | ||
@@ -410,3 +411,3 @@ select: ['table_name', 'constraint_type', 'constraint_name'] | ||
, function(err, results){ | ||
, function(err, results) { | ||
if (err) callback(err); | ||
@@ -413,0 +414,0 @@ else { |
{ | ||
"name" : "ee-mysql-connection" | ||
, "description" : "mysql connection abstraction for ee-orm" | ||
, "version" : "0.2.1" | ||
, "homepage" : "https://github.com/eventEmitter/ee-mysql-connection" | ||
, "author" : "Michael van der Weg <michael@eventemitter.com> (http://eventemitter.com/)" | ||
, "licence" : "mit" | ||
, "os" : "!win" | ||
"name" : "ee-mysql-connection" | ||
, "description" : "mysql connection abstraction for ee-orm" | ||
, "version" : "0.3.0" | ||
, "homepage" : "https://github.com/eventEmitter/ee-mysql-connection" | ||
, "author" : "Michael van der Weg <michael@eventemitter.com> (http://eventemitter.com/)" | ||
, "licence" : "mit" | ||
, "repository": { | ||
"url" : "https://github.com/eventEmitter/ee-mysql-connection.git" | ||
, "type" : "git" | ||
"url" : "https://github.com/eventEmitter/ee-mysql-connection.git" | ||
, "type" : "git" | ||
} | ||
, "engines": { | ||
"node" : ">=v0.10.17" | ||
"node" : ">=v0.10.17" | ||
} | ||
, "bugs": { | ||
"url" : "https://github.com/eventEmitter/ee-mysql-connection/issues" | ||
"url" : "https://github.com/eventEmitter/ee-mysql-connection/issues" | ||
} | ||
, "dependencies": { | ||
"ee-class" : "1.0.x" | ||
, "ee-event-emitter" : "0.2.x" | ||
, "ee-types" : "0.1.x" | ||
, "ee-log" : "0.2.x" | ||
, "ee-async" : "0.2.x" | ||
, "ee-argv" : "0.1.x" | ||
, "ee-project" : "0.2.x" | ||
, "mysql" : "2.3.x" | ||
, "pluralize" : "0.0.x" | ||
, "ee-query-builder" : "^0.2.x" | ||
, "ee-db-connection" : "^0.1.13" | ||
, "moment" : "2.5.x" | ||
"ee-class" : "1.0.x" | ||
, "ee-event-emitter" : "0.2.x" | ||
, "ee-types" : "0.1.x" | ||
, "ee-log" : "0.2.x" | ||
, "ee-async" : "0.2.x" | ||
, "ee-argv" : "0.1.x" | ||
, "ee-project" : "0.2.x" | ||
, "mysql" : "2.5.2" | ||
, "ee-mysql-query-builder" : "0.1.x" | ||
, "ee-db-connection" : "^0.1.13" | ||
, "moment" : "2.5.x" | ||
} | ||
, "devDependencies": { | ||
"mocha" : "1.18.x" | ||
, "ee-travis" : "0.1.x" | ||
} | ||
, "devDependencies": {} | ||
, "optionalDependencies": {} | ||
, "keywords" : [] | ||
, "scripts": { | ||
"test" : "./node_modules/mocha/bin/mocha --reporter spec" | ||
"test" : "./node_modules/mocha/bin/mocha --reporter spec" | ||
} | ||
} |
# ee-mysql-connection | ||
description | ||
mysql connection abstraction for ee-orm | ||
## installation | ||
## build status | ||
[![Build Status](https://travis-ci.org/eventEmitter/ee-mysql-connection.png?branch=master)](https://travis-ci.org/eventEmitter/ee-mysql-connection) | ||
## usage | ||
npm install ee-mysql-connection |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11
0
695
25782
8
+ Addedee-mysql-query-builder@0.1.x
+ Addedbignumber.js@1.4.1(transitive)
+ Addedee-event-emitter@0.1.3(transitive)
+ Addedee-mysql-query-builder@0.1.1(transitive)
+ Addedee-query-builder@0.3.2(transitive)
+ Addedmysql@2.5.2(transitive)
- Removedee-query-builder@^0.2.x
- Removedpluralize@0.0.x
- Removedbignumber.js@1.4.0(transitive)
- Removedee-query-builder@0.2.10(transitive)
- Removedmysql@2.3.2(transitive)
- Removedpluralize@0.0.12(transitive)
Updatedmysql@2.5.2