Introduce IDatabase::buildIntegerCast
[lhc/web/wiklou.git] / includes / libs / rdbms / database / IDatabase.php
index 9311c07..28a8125 100644 (file)
@@ -1072,6 +1072,13 @@ interface IDatabase {
         */
        public function buildStringCast( $field );
 
+       /**
+        * @param string $field Field or column to cast
+        * @return string
+        * @since 1.31
+        */
+       public function buildIntegerCast( $field );
+
        /**
         * Returns true if DBs are assumed to be on potentially different servers
         *