[owncloud-devel] Deprecation of OCP\IDb in favor of OCP\IDBConnection

Bernhard Posselt dev at bernhard-posselt.com
Wed Mar 18 12:17:45 GMT 2015

Hi guys,

ownCloud 8.1 will deprecate the usage of OC_DB_StatementWrapper, OCP\IDb
and OC\AppFramework\Db. Once we hit ownCloud 10, those will be removed.

If you limit your app to 8.1 you can already migrate to the new
interface by swapping all OCP\IDb occurences in your code with instances
of OCP\IDBConnection.

Here is a pull request to the documentation which should help you with
the migration https://github.com/owncloud/documentation/pull/962

More information about the Devel mailing list