summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-06 13:26:00 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-06 13:26:00 +0100
commit5832178f591f1efca48e06c78dfb7a0405a7cce4 (patch)
tree5e162879b81a4a8d182090bcf3f9440305aeb249 /lib/public
parent72974081505dbf2eb6c5f00a03f8690235cb037b (diff)
parent065141f6f4212dbbca4633b0138f6e5ac3ec4f7a (diff)
downloadnextcloud-server-5832178f591f1efca48e06c78dfb7a0405a7cce4.tar.gz
nextcloud-server-5832178f591f1efca48e06c78dfb7a0405a7cce4.zip
Merge pull request #22139 from owncloud/comments-files-cleanup
cleanup jobs for comments and comment read marks
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/db/querybuilder/iexpressionbuilder.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/db/querybuilder/iexpressionbuilder.php b/lib/public/db/querybuilder/iexpressionbuilder.php
index a53ae3846c2..4b53a0e0b8b 100644
--- a/lib/public/db/querybuilder/iexpressionbuilder.php
+++ b/lib/public/db/querybuilder/iexpressionbuilder.php
@@ -299,4 +299,14 @@ interface IExpressionBuilder {
* @since 8.2.0
*/
public function literal($input, $type = null);
+
+ /**
+ * Returns a IQueryFunction that casts the column to the given type
+ *
+ * @param string $column
+ * @param mixed $type One of IQueryBuilder::PARAM_*
+ * @return string
+ * @since 9.0.0
+ */
+ public function castColumn($column, $type);
}