Skip to content

Commit 71bd85c

Browse files
committed
Add note to documentation
1 parent 7cde3d5 commit 71bd85c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

user_guide_src/source/database/query_builder.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -882,6 +882,8 @@ You can also insert from a query:
882882

883883
.. literalinclude:: query_builder/117.php
884884

885+
.. note:: It is required to alias the columns of the select query to match those of the target table.
886+
885887
.. _upsert-data:
886888

887889
**************
@@ -946,6 +948,8 @@ You can also upsert from a query:
946948

947949
.. literalinclude:: query_builder/115.php
948950

951+
.. note:: It is required to alias the columns of the select query to match those of the target table.
952+
949953
$builder->onConstraint()
950954
------------------------
951955

@@ -1086,6 +1090,8 @@ You can also update from a query:
10861090

10871091
.. literalinclude:: query_builder/116.php
10881092

1093+
.. note:: It is required to alias the columns of the select query to match those of the target table.
1094+
10891095
$builder->getCompiledUpdate()
10901096
-----------------------------
10911097

0 commit comments

Comments
 (0)