Commit 985a30a4 authored by Dian Fay's avatar Dian Fay
Browse files

fix: use full name for materialized view refresh()

parent 6fbbec03
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for lib/readable.js: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -120,7 +120,7 @@ Readable.prototype.refresh = function (concurrently) {

  const concurrentlyStr = concurrently ? 'CONCURRENTLY' : '';

  return this.db.query(`REFRESH MATERIALIZED VIEW ${concurrentlyStr} ${this.delimitedName}`);
  return this.db.query(`REFRESH MATERIALIZED VIEW ${concurrentlyStr} ${this.delimitedFullName}`);
};

/**