removing umd, Promise.method on query

This commit is contained in:
Tim Griesser 2013-12-02 23:58:41 -05:00
parent c39bdf5a5c
commit b65bf4f231
2 changed files with 510 additions and 525 deletions

View File

@ -28,7 +28,7 @@ var ServerBase = ClientBase.extend({
// Execute a query on the specified Builder or QueryBuilder
// interface. If a `connection` is specified, use it, otherwise
// acquire a connection, and then dispose of it when we're done.
query: function(builder) {
query: Promise.method(function(builder) {
var conn, client = this;
var sql = builder.toSql(builder);
var bindings = builder.getBindings();
@ -76,7 +76,7 @@ var ServerBase = ClientBase.extend({
newError.clientError = error;
throw newError;
});
},
}),
// Debug a query.
debug: function(sql, bindings, connection, builder) {

File diff suppressed because it is too large Load Diff