aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/table.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/table.rb')
-rw-r--r--lib/arel/table.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/arel/table.rb b/lib/arel/table.rb
index 3866637bd2..545e73e3ae 100644
--- a/lib/arel/table.rb
+++ b/lib/arel/table.rb
@@ -108,6 +108,14 @@ primary_key (#{caller.first}) is deprecated and will be removed in Arel 4.0.0
InsertManager.new(@engine)
end
+ def update_manager
+ UpdateManager.new(@engine)
+ end
+
+ def delete_manager
+ DeleteManager.new(@engine)
+ end
+
def hash
# Perf note: aliases, table alias and engine is excluded from the hash
# aliases can have a loop back to this table breaking hashes in parent