Page MenuHomePhabricator

Migrate usage of Database::select to SelectQueryBuilder in Nuke
Closed, ResolvedPublic

Description

Now that T243051: A query builder for MediaWiki core is done, this extension should migrate away from IDatabase::select() to SelectQueryBuilder.

It would improve readability of the code, avoids mistakes by passing the wrong order of arguments, etc.

For more information check T243051 and its documentation.

Note that query builder is a different paradigm and changes should not be one-to-one. For example, avoid using joinConds().

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

Change 984224 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[mediawiki/extensions/Nuke@master] Migrate to query builder and expression builders

https://gerrit.wikimedia.org/r/984224

Change 984224 merged by jenkins-bot:

[mediawiki/extensions/Nuke@master] Migrate to query builder and expression builders

https://gerrit.wikimedia.org/r/984224

Ladsgroup claimed this task.