New in this release

This pages covers new features of the platform.

Typed query builder

\OCP\DB\QueryBuilder\ITypedQueryBuilder was added in favour of \OCP\DB\QueryBuilder\IQueryBuilder and can be accessed through \OCP\IDBConnection::getTypedQueryBuilder.

This query builder has the benefit of accurately returning the selected columns in a query result, increasing type safety.

Todo

This linked page does not have coverage for the new API.

See Database access for details.

Expensive post migration repair steps

\OCP\Migration\IRepairStepExpensive was added and can be used to mark post-migration repair steps as expensive.

Expensive repair steps are non-critical repair steps that might take a long time to execute. Non-critical means that they are not required to directly be executed during migration to have a working instance, but they might be required to have a fully working instance later on.

Expensive repair steps are only executed when explicitly requested by the administrator.

See Repair steps for details.