mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Document the return value of AR::Base#delete_all.
This commit is contained in:
@@ -886,7 +886,8 @@ module ActiveRecord #:nodoc:
|
||||
# Deletes the records matching +conditions+ without instantiating the records first, and hence not
|
||||
# calling the +destroy+ method nor invoking callbacks. This is a single SQL DELETE statement that
|
||||
# goes straight to the database, much more efficient than +destroy_all+. Be careful with relations
|
||||
# though, in particular <tt>:dependent</tt> rules defined on associations are not honored.
|
||||
# though, in particular <tt>:dependent</tt> rules defined on associations are not honored. Returns
|
||||
# the number of rows affected.
|
||||
#
|
||||
# ==== Parameters
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user