Merge "add method to check if ORMTable exists"
[lhc/web/wiklou.git] / includes / db / IORMTable.php
index be4036e..dfc5916 100644 (file)
@@ -229,6 +229,15 @@ interface IORMTable {
         */
        public function has( array $conditions = array() );
 
+       /**
+        * Checks if the table exists
+        *
+        * @since 1.21
+        *
+        * @return boolean
+        */
+       public function exists();
+
        /**
         * Returns the amount of matching records.
         * Condition field names get prefixed.