diff --git a/lib/torque/provider.windshaft.js b/lib/torque/provider.windshaft.js index 51b6244..2ecaa97 100644 --- a/lib/torque/provider.windshaft.js +++ b/lib/torque/provider.windshaft.js @@ -326,6 +326,13 @@ return this.options.sql || "select * from " + this.options.table; }, + setSQL: function(sql) { + if (this.options.sql != sql) { + this.options.sql = sql; + this.reload(); + } + }, + _tilerHost: function() { var opts = this.options; var user = (opts.user_name || opts.user);