We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b1f1e1 commit fee8563Copy full SHA for fee8563
1 file changed
system/Model.php
@@ -494,7 +494,9 @@ public function first()
494
495
/**
496
*
497
- * Allows key/value pairs to be set for insert(), update() or replace().
+ * Captures the builder's set() method so that we can validate the
498
+ * data here. This allows it to be used with any of the other
499
+ * builder methods and still get validated data, like replace.
500
501
* @param mixed $key Field name, or an array of field/value pairs
502
* @param string $value Field value, if $key is a single field
0 commit comments