Skip to content

Commit 6707e12

Browse files
committed
Add RawSql as parameter type to constraints.
1 parent e359570 commit 6707e12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/Database/BaseBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1901,7 +1901,7 @@ protected function updateFields($set, bool $addToDefault = false, ?array $ignore
19011901
/**
19021902
* Sets constraints for batch upsert, update
19031903
*
1904-
* @param array|object|string $set a string of columns, key value pairs, or RawSql
1904+
* @param array|RawSql|string $set a string of columns, key value pairs, or RawSql
19051905
*
19061906
* @return $this
19071907
*/
@@ -2285,7 +2285,7 @@ protected function validateUpdate(): bool
22852285
* Sets data and calls batchExecute to run queryies
22862286
*
22872287
* @param array|object|string|null $set a dataset or select query
2288-
* @param array|string|null $constraints
2288+
* @param array|RawSql|string|null $constraints
22892289
*
22902290
* @return false|int|string[] Number of rows affected or FALSE on failure, SQL array when testMode
22912291
*

0 commit comments

Comments
 (0)