diff options
author | Robin Appelman <robin@icewind.nl> | 2018-04-10 18:30:43 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2018-04-11 19:21:45 +0200 |
commit | 89a9d35d90b7264d66411dfefec0aa84491d5cf9 (patch) | |
tree | 8e433546babedc20917bb0b81fa59f7438a4dfc5 /lib/public | |
parent | 9260474ab69e85c292ac1b845a52e4ddf838d4ae (diff) | |
download | nextcloud-server-89a9d35d90b7264d66411dfefec0aa84491d5cf9.tar.gz nextcloud-server-89a9d35d90b7264d66411dfefec0aa84491d5cf9.zip |
dont keep shared database locks when running cli scripts
For cli scripts we don't have the assumption that the universe will be cleaned up soon
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/DB/QueryBuilder/IFunctionBuilder.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/public/DB/QueryBuilder/IFunctionBuilder.php b/lib/public/DB/QueryBuilder/IFunctionBuilder.php index d867d9e5edb..e0e331c0807 100644 --- a/lib/public/DB/QueryBuilder/IFunctionBuilder.php +++ b/lib/public/DB/QueryBuilder/IFunctionBuilder.php @@ -80,4 +80,20 @@ interface IFunctionBuilder { * @since 14.0.0 */ public function lower($field); + + /** + * @param mixed $x The first input field or number + * @param mixed $y The second input field or number + * @return IQueryFunction + * @since 14.0.0 + */ + public function add($x, $y); + + /** + * @param mixed $x The first input field or number + * @param mixed $y The second input field or number + * @return IQueryFunction + * @since 14.0.0 + */ + public function subtract($x, $y); } |