diff --git a/lib/query/Query.js b/lib/query/Query.js
index <HASH>..<HASH> 100644
--- a/lib/query/Query.js
+++ b/lib/query/Query.js
@@ -45,6 +45,8 @@ Query.prototype.constructor = Query;
 
 Query.prototype.generate = function(options, values) {
   const ctx = {};
+  if (this.pool && this.pool.config)
+    Object.assign(ctx, this.pool.config);
   if (options)
     Object.assign(ctx, options);
   ctx.values = values || {};
[+] generate() will use pool config as default