1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Don't parse DB specific locking docs as code

[ci skip]
This commit is contained in:
Elia Schito 2019-11-12 16:04:58 +01:00 committed by GitHub
parent 6504d51a78
commit 4a96c7404f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,8 +53,12 @@ module ActiveRecord
# end
#
# Database-specific information on row locking:
# MySQL: https://dev.mysql.com/doc/refman/en/innodb-locking-reads.html
# PostgreSQL: https://www.postgresql.org/docs/current/interactive/sql-select.html#SQL-FOR-UPDATE-SHARE
#
# [MySQL]
# https://dev.mysql.com/doc/refman/en/innodb-locking-reads.html
#
# [PostgreSQL]
# https://www.postgresql.org/docs/current/interactive/sql-select.html#SQL-FOR-UPDATE-SHARE
module Pessimistic
# Obtain a row lock on this record. Reloads the record to obtain the requested
# lock. Pass an SQL locking clause to append the end of the SELECT statement