waterline
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -81,12 +81,26 @@ var _ = require('underscore'); | ||
this.startsWith = function (queryString, attributes, cb) { | ||
// TODO for filtering | ||
this.like = function (criteria, cb) { | ||
throw new notImplementedError(); | ||
}; | ||
this.contains = function (queryString, attributes, cb) { | ||
this.startsWith = function (criteria, cb) { | ||
throw new notImplementedError(); | ||
}; | ||
this.endsWith = function (queryString, attributes, cb) { | ||
this.contains = function (criteria, cb) { | ||
throw new notImplementedError(); | ||
}; | ||
this.endsWith = function (criteria, cb) { | ||
throw new notImplementedError(); | ||
}; | ||
this.greaterThan = function (lowerBound, cb) { | ||
throw new notImplementedError(); | ||
}; | ||
this.lessThan = function (upperBound, cb) { | ||
throw new notImplementedError(); | ||
}; | ||
this.between = function (lowerBound, upperBound, cb) { | ||
throw new notImplementedError(); | ||
}; | ||
// Go back and modify the criteria to find a method that takes a criteria | ||
@@ -93,0 +107,0 @@ // ( the last contextual operation up the callChain ) |
{ | ||
"name": "waterline", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "Adaptable data access layer for Node.js", | ||
@@ -40,5 +40,5 @@ "main": "waterline.js", | ||
"sails-moduleloader": "~1.1.5", | ||
"waterline-dirty": "~0.2.3", | ||
"waterline-mysql": "~0.2.1" | ||
"waterline-dirty": "~0.3.0", | ||
"waterline-mysql": "~0.3.0" | ||
} | ||
} |
@@ -22,3 +22,4 @@ /*--------------------- | ||
phone : 'STRING', | ||
type : 'STRING' | ||
type : 'STRING', | ||
age : 'INTEGER' | ||
}; | ||
@@ -42,4 +43,4 @@ | ||
// exports.adapter = { | ||
// identity : 'waterline-dirty', | ||
// inMemory : false | ||
// identity : 'waterline-dirty', | ||
// inMemory : false | ||
// }; | ||
@@ -50,8 +51,8 @@ | ||
//////////////////////////////////////////////////////// | ||
//exports.adapter = { | ||
// identity : 'waterline-mysql', | ||
// database : 'waterline', | ||
// user : 'waterline', | ||
// password : 'abc123' | ||
//}; | ||
// exports.adapter = { | ||
// identity : 'waterline-mysql', | ||
// database : 'waterline', | ||
// user : 'waterline', | ||
// password : 'abc123' | ||
// }; | ||
@@ -58,0 +59,0 @@ //////////////////////////////////////////////////////// |
120311
38
3036
+ Addedwaterline-dirty@0.3.0(transitive)
+ Addedwaterline-mysql@0.3.0(transitive)
- Removedwaterline-dirty@0.2.3(transitive)
- Removedwaterline-mysql@0.2.2(transitive)
Updatedwaterline-dirty@~0.3.0
Updatedwaterline-mysql@~0.3.0