You are here

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

Connection

Namespace

Drupal\Driver\Database\sqlsrv\PDO

Code

const PDO_RETRYONINTEGRITYVIOLATION = 'PDO_RETRYONINTEGRITYVIOLATION';