WireDatabaseDialect::supportsUpdateOrderBy()

Supports ORDER BY in UPDATE statements, applied row-by-row for unique key checks?

This is what makes UPDATE t SET sort=sort+1 WHERE ... ORDER BY sort DESC possible on a unique/primary key that includes the sort column.

Usage

$bool = $wireDatabaseDialect->supportsUpdateOrderBy();

Return value

bool


WireDatabaseDialect methods and properties

API reference based on ProcessWire core version 3.0.275