Skip to content

Commit 849a415

Browse files
authored
Merge pull request #6970 from kenjis/fix-docs-typo-query_builder.rst
docs: fix typos in query_builder.rst
2 parents 97210e5 + d40bf9a commit 849a415

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

user_guide_src/source/database/query_builder.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -884,9 +884,9 @@ You can also insert from a query:
884884

885885
.. literalinclude:: query_builder/117.php
886886

887-
.. note:: ``$setQueryAsData()`` can be used since v4.3.0.
887+
.. note:: ``setQueryAsData()`` can be used since v4.3.0.
888888

889-
.. note:: It is required to alias the columns of the select query to match those of the target table.
889+
.. note:: It is required to alias the columns of the select query to match those of the target table.
890890

891891
.. _upsert-data:
892892

@@ -952,7 +952,7 @@ You can also upsert from a query:
952952

953953
.. literalinclude:: query_builder/115.php
954954

955-
.. note:: ``$setQueryAsData()`` can be used since v4.3.0.
955+
.. note:: ``setQueryAsData()`` can be used since v4.3.0.
956956

957957
.. note:: It is required to alias the columns of the select query to match those of the target table.
958958

@@ -1091,12 +1091,12 @@ The first parameter is an associative array of values, the second parameter is t
10911091
.. note:: ``affectedRows()`` won't give you proper results with this method,
10921092
due to the very nature of how it works. Instead, ``updateBatch()``
10931093
returns the number of rows affected.
1094-
1094+
10951095
You can also update from a query:
10961096

10971097
.. literalinclude:: query_builder/116.php
10981098

1099-
.. note:: ``$setQueryAsData()`` can be used since v4.3.0.
1099+
.. note:: ``setQueryAsData()`` can be used since v4.3.0.
11001100

11011101
.. note:: It is required to alias the columns of the select query to match those of the target table.
11021102

0 commit comments

Comments
 (0)