class Sequel::Postgres::AutoParameterizeDuplicateQueryDetection::DuplicateQueries

  1. lib/sequel/extensions/pg_auto_parameterize_duplicate_query_detection.rb
Superclass: Sequel::Error

Exception class raised when duplicate queries are detected.

Methods

Public Class

  1. new

Public Instance

  1. queries

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)
[show source]
   # File lib/sequel/extensions/pg_auto_parameterize_duplicate_query_detection.rb
77 def initialize(message, queries)
78   @queries = queries
79   super(message)
80 end