Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Simplified README code.

  • Loading branch information...
commit 9b4df4ccf692cce9b396910ccf36ec2edd17c6c2 1 parent 8e652e2
@hiddentao authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 README.md
View
6 README.md
@@ -179,13 +179,11 @@ Squel allows you to override the built-in query builders with your own as well a
// pragma query builder
var PragmaQuery = function(options) {
- var blocks = [
+ squel.cls.QueryBuilder.call(this, options, [
new squel.cls.StringBlock(options, 'PRAGMA'),
new CommandBlock(),
new ParamBlock()
- ];
-
- squel.cls.QueryBuilder.call(this, options, blocks);
+ ]);
};
util.inherits(PragmaQuery, squel.cls.QueryBuilder);
Please sign in to comment.
Something went wrong with that request. Please try again.