summaryrefslogtreecommitdiffstats
path: root/lib/public/db
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-01-25 17:17:20 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2016-01-25 17:17:20 +0100
commitc5046fb2a9e3cfd6c7a019517a9eff17fa6033c5 (patch)
tree49047162dd91d438c9984ad0585f1760fdc3daa9 /lib/public/db
parentce753231eb3ed36a2f5250a2b9cc118fad8dad37 (diff)
downloadnextcloud-server-c5046fb2a9e3cfd6c7a019517a9eff17fa6033c5.tar.gz
nextcloud-server-c5046fb2a9e3cfd6c7a019517a9eff17fa6033c5.zip
Add parameters to public interface
Diffstat (limited to 'lib/public/db')
-rw-r--r--lib/public/db/querybuilder/iquerybuilder.php39
1 files changed, 39 insertions, 0 deletions
diff --git a/lib/public/db/querybuilder/iquerybuilder.php b/lib/public/db/querybuilder/iquerybuilder.php
index c803f08a888..5a020f4f6a2 100644
--- a/lib/public/db/querybuilder/iquerybuilder.php
+++ b/lib/public/db/querybuilder/iquerybuilder.php
@@ -21,11 +21,50 @@
namespace OCP\DB\QueryBuilder;
+
+use Doctrine\DBAL\Connection;
+
/**
* This class provides a wrapper around Doctrine's QueryBuilder
* @since 8.2.0
*/
interface IQueryBuilder {
+
+ /**
+ * @since 9.0.0
+ */
+ const PARAM_NULL = \PDO::PARAM_NULL;
+ /**
+ * @since 9.0.0
+ */
+ const PARAM_BOOL = \PDO::PARAM_BOOL;
+ /**
+ * @since 9.0.0
+ */
+ const PARAM_INT = \PDO::PARAM_INT;
+ /**
+ * @since 9.0.0
+ */
+ const PARAM_STR = \PDO::PARAM_STR;
+ /**
+ * @since 9.0.0
+ */
+ const PARAM_LOB = \PDO::PARAM_LOB;
+ /**
+ * @since 9.0.0
+ */
+ const PARAM_DATE = 'datetime';
+
+ /**
+ * @since 9.0.0
+ */
+ const PARAM_INT_ARRAY = Connection::PARAM_INT_ARRAY;
+ /**
+ * @since 9.0.0
+ */
+ const PARAM_STR_ARRAY = Connection::PARAM_STR_ARRAY;
+
+
/**
* Enable/disable automatic prefixing of table names with the oc_ prefix
*