module Sequel::ConstantSqlOverride::DatasetMethods

  1. lib/sequel/extensions/constant_sql_override.rb

Methods

Public Instance

  1. constant_sql_append

Public Instance methods

constant_sql_append(sql, constant)

Use overridden constant SQL

[show source]
   # File lib/sequel/extensions/constant_sql_override.rb
54 def constant_sql_append(sql, constant)
55   if constant_sql = db.constant_sqls[constant]
56     sql << constant_sql
57   else
58     super
59   end
60 end