File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
user_guide_src/source/database Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -882,6 +882,8 @@ You can also insert from a query:
882
882
883
883
.. literalinclude :: query_builder/117.php
884
884
885
+ .. note :: It is required to alias the columns of the select query to match those of the target table.
886
+
885
887
.. _upsert-data :
886
888
887
889
**************
@@ -946,6 +948,8 @@ You can also upsert from a query:
946
948
947
949
.. literalinclude :: query_builder/115.php
948
950
951
+ .. note :: It is required to alias the columns of the select query to match those of the target table.
952
+
949
953
$builder->onConstraint()
950
954
------------------------
951
955
@@ -1086,6 +1090,8 @@ You can also update from a query:
1086
1090
1087
1091
.. literalinclude :: query_builder/116.php
1088
1092
1093
+ .. note :: It is required to alias the columns of the select query to match those of the target table.
1094
+
1089
1095
$builder->getCompiledUpdate()
1090
1096
-----------------------------
1091
1097
You can’t perform that action at this time.
0 commit comments