constant Connection::PDO_RETRYONINTEGRITYVIOLATION in Drupal driver for SQL Server and SQL Azure 8.2
Use this when preparing a statement to retry operations that fail with integrity constraint violations. Useful when using MERGE statements - than can fail on high concurrency scenarios.
File
- drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ PDO/ Connection.php, line 20
Class
Namespace
Drupal\Driver\Database\sqlsrv\PDOCode
const PDO_RETRYONINTEGRITYVIOLATION = 'PDO_RETRYONINTEGRITYVIOLATION';