We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72fe037 commit 1216606Copy full SHA for 1216606
lib/sequel/pgt_outbox.rb
@@ -39,9 +39,9 @@ def depth_guard_clause(depth_limit = nil)
39
depth_limit = depth_limit.to_i
40
raise ArgumentError, ':trigger_depth_limit option must be at least 1' unless depth_limit >= 1
41
42
- <<-SQL
43
- IF pg_trigger_depth() > #{depth_limit} THEN
44
- RETURN NEW;
+ <<~SQL
+ IF pg_trigger_depth() > #{depth_limit} THEN
+ RETURN NEW;
45
END IF;
46
SQL
47
end
test/sequel/test_pgt_outbox.rb
@@ -15,8 +15,8 @@ class Crass
15
def depth_sql(depth)
16
<<~SQL.strip
17
IF pg_trigger_depth() > #{depth} THEN
18
19
- END IF;
+ END IF;
20
21
22
0 commit comments