method
reset!
v7.1.3.4 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::AbstractAdapter
reset!()public
Reset the state of this connection, directing the DBMS to clear transactions and other connection-related server-side state. Usually a database-dependent operation.
If a database driver or protocol does not support such a feature, implementors may alias this to #reconnect!. Otherwise, implementors should call super immediately after resetting the connection (and while still holding @lock).