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 @@ -878,6 +878,9 @@ insertBatch
878878$builder->insertBatch()
879879-----------------------
880880
881+ Insert from Data
882+ ^^^^^^^^^^^^^^^^
883+
881884Generates an insert string based on the data you supply, and runs the
882885query. You can either pass an **array ** or an **object ** to the
883886method. Here is an example using an array:
@@ -890,6 +893,9 @@ The first parameter is an associative array of values.
890893
891894.. warning :: When you use ``RawSql``, you MUST escape the data manually. Failure to do so could result in SQL injections.
892895
896+ Insert from a Query
897+ ^^^^^^^^^^^^^^^^^^^
898+
893899You can also insert from a query:
894900
895901.. literalinclude :: query_builder/117.php
You can’t perform that action at this time.
0 commit comments