File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
user_guide_src/source/database Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -910,7 +910,7 @@ The first parameter is an associative array of values.
910
910
.. note :: All values are escaped automatically producing safer queries.
911
911
912
912
$builder->onConstraint()
913
- -----------------------
913
+ ------------------------
914
914
915
915
Allows manually setting constraint to be used for upsert. This does
916
916
not work with MySQL because MySQL checks all constraints by default.
@@ -920,7 +920,7 @@ not work with MySQL because MySQL checks all constraints by default.
920
920
This method accepts a string or an array of columns.
921
921
922
922
$builder->updateFields()
923
- -----------------------
923
+ ------------------------
924
924
Allows manually setting the fields to be updated when performing upserts.
925
925
926
926
.. literalinclude :: query_builder/110.php
Original file line number Diff line number Diff line change 8
8
'country ' => 'Iran ' ,
9
9
],
10
10
[
11
- 'id ' => NULL ,
11
+ 'id ' => null ,
12
12
13
13
'name ' => 'Pedro ' ,
14
14
'country ' => 'El Salvador ' ,
You can’t perform that action at this time.
0 commit comments