mirror of
https://github.com/knex/knex.git
synced 2025-12-30 00:30:14 +00:00
Fix MSSQL ping function, calling resource.request().query instead of resource.query.
This commit is contained in:
parent
1f09df80a9
commit
14eca7a02c
@ -181,7 +181,7 @@ assign(Client_MSSQL.prototype, {
|
||||
},
|
||||
|
||||
ping: function(resource, callback) {
|
||||
resource.query('SELECT 1', callback);
|
||||
resource.request().query('SELECT 1', callback);
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user