Addshore has submitted this change and it was merged.

Change subject: Add tableExists to QueryInterface as well
......................................................................


Add tableExists to QueryInterface as well

Apparently having it only in TableBuilder will cause
interface segregation issues as well.

Change-Id: Ibb44d2849077e05b1e11ff0427405e70ee47bdb4
---
M src/QueryInterface/QueryInterface.php
1 file changed, 9 insertions(+), 0 deletions(-)

Approvals:
  Addshore: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/src/QueryInterface/QueryInterface.php 
b/src/QueryInterface/QueryInterface.php
index 2621e5f..ca065a9 100644
--- a/src/QueryInterface/QueryInterface.php
+++ b/src/QueryInterface/QueryInterface.php
@@ -86,4 +86,13 @@
         */
        public function select( $tableName, array $fields, array $conditions, 
array $options = array() );
 
+       /**
+        * @since 0.1
+        *
+        * @param string $tableName
+        *
+        * @return boolean
+        */
+       public function tableExists( $tableName );
+
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/88968
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibb44d2849077e05b1e11ff0427405e70ee47bdb4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikibaseDatabase
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>
Gerrit-Reviewer: Addshore <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to