InstallerModelDiscover::getListQuery

Method to get the database query.