nextcloud/lib/public/DB/QueryBuilder/ConflictResolutionMode.php
Daniel Kesselberg 25ca85e329
docs(ocp): Add since tag
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2026-04-28 11:17:27 +02:00

30 lines
484 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCP\DB\QueryBuilder;
/**
* Conflict resolution mode for "FOR UPDATE" select queries.
*
* @since 34.0.0
*/
enum ConflictResolutionMode {
/**
* Wait for the row to be unlocked.
*
* @since 34.0.0
*/
case Ordinary;
/**
* Skip the row if it is locked.
*
* @since 34.0.0
*/
case SkipLocked;
}