class Sequel::Postgres::AutoParameterizeDuplicateQueryDetection::DuplicateQueries

Exception class raised when duplicate queries are detected.

Attributes

queries[R]

A hash of queries that were duplicate. Keys are arrays with 2 entries, the first being the query SQL, and the second being the related call stack (backtrace). The values are the number of query executions.

Public Class Methods

new(message, queries) click to toggle source
Calls superclass method
   # File lib/sequel/extensions/pg_auto_parameterize_duplicate_query_detection.rb
77 def initialize(message, queries)
78   @queries = queries
79   super(message)
80 end