Skip to content
Browse files

New release

  • Loading branch information...
1 parent 83cb5f9 commit 71fe375a1e4330766ae81e370721a5aa186f9e22 @mariano committed May 27, 2011
Showing with 14 additions and 6 deletions.
  1. +5 −0 CHANGELOG
  2. +7 −4 README.md
  3. +1 −1 package.json
  4. +1 −1 wscript
View
5 CHANGELOG
@@ -2,6 +2,11 @@ For more in depth changelog, check the Github Commits:
https://github.com/mariano/node-db-drizzle/commits/master
+0.5.8
+-----
+* Database.connect() now takes an error-first callback
+* Fixing compilation issues in CentOS
+
0.5.7
-----
* [API CHANGE] Query.execute() callback now takes error as its first argument
View
11 README.md
@@ -15,15 +15,18 @@ database bindings visit the [Node.js DB homepage] [homepage].
user: 'root',
password: 'password',
database: 'node'
- }).on('ready', function() {
+ }).connect(function(error) {
+ if (error) {
+ return console.log("CONNECTION ERROR: " + error);
+ }
+
this.query().select('*').from('users').execute(function(error, rows) {
if (error) {
- console.log('ERROR: ' + error);
- return;
+ return console.log('ERROR: ' + error);
}
console.log(rows.length + ' ROWS');
});
- }).connect();
+ });
## LICENSE ##
View
2 package.json
@@ -2,7 +2,7 @@
, "description" : "Drizzle database bindings for Node.JS"
, "keywords": ["database","db","native","binding","library","plugin","client","drizzle","libdrizzle"]
, "homepage" : "http://nodejsdb.org/db-drizzle"
-, "version" : "0.5.7"
+, "version" : "0.5.8"
, "engines" : { "node" : ">=0.4.1" }
, "maintainers" :
[ { "name": "Mariano Iglesias"
View
2 wscript
@@ -11,7 +11,7 @@ from os.path import exists
srcdir = "."
blddir = "build"
-VERSION = "0.5.7"
+VERSION = "0.5.8"
def set_options(opt):
opt.tool_options("compiler_cxx")

0 comments on commit 71fe375

Please sign in to comment.
Something went wrong with that request. Please try again.