I hereby claim:
- I am excellentdrums on github.
- I am excellentdrums (https://keybase.io/excellentdrums) on keybase.
- I have a public key ASBshOp0NMo7Pmsgha6kVpsat9zD_KJDLsYtNL2FYvI4kQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
function Base(client) { | |
this.client = client; | |
} | |
Base.prototype.truncate = function(callback) { | |
self.client.query("TRUNCATE users;", function(err, result) { | |
callback(err, !result.rowCount); | |
}); | |
} |