Doctrine\DBAL\Platforms\AbstractPlatform::getReadLockSQL
Get the sql snippet to append to any SELECT statement which locks rows in shared read lock.
This defaults to the ASNI SQL "FOR UPDATE", which is an exclusive lock (Write). Some database vendors allow to lighten this constraint up to be a real read lock.
Signature
public function getReadLockSQL()
Returns
- string