mirror of
https://github.com/knex/knex.git
synced 2025-12-12 15:31:09 +00:00
minor cleanup
This commit is contained in:
parent
1a47485d33
commit
6cfa41a69f
@ -22,8 +22,7 @@ exports.Client = ServerBase.extend({
|
||||
|
||||
dialect: 'postgresql',
|
||||
|
||||
initialize: function() {
|
||||
},
|
||||
initialize: function() {},
|
||||
|
||||
runQuery: function(connection, sql, bindings) {
|
||||
return nodefn.call(connection.query.bind(connection), sql, bindings);
|
||||
|
||||
@ -2,7 +2,7 @@ module.exports = function(knex) {
|
||||
|
||||
describe('deletes', function () {
|
||||
|
||||
it('should delete an item', function(ok) {
|
||||
it('should delete an item', function() {
|
||||
|
||||
return knex('accounts')
|
||||
.where({'email':'test2@example.com'})
|
||||
|
||||
@ -2,7 +2,7 @@ module.exports = function(knex) {
|
||||
|
||||
describe('Updates', function () {
|
||||
|
||||
it('should handle updates', function(ok) {
|
||||
it('should handle updates', function() {
|
||||
return knex('accounts')
|
||||
.logMe()
|
||||
.where('id', 1)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user