Jeroen De Dauw has uploaded a new change for review.

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


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(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikibaseDatabase 
refs/changes/68/88968/1

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: newchange
Gerrit-Change-Id: Ibb44d2849077e05b1e11ff0427405e70ee47bdb4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikibaseDatabase
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>

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

Reply via email to