We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 95be341 + 8ebbc9e commit bfd952cCopy full SHA for bfd952c
user_guide_src/source/database/query_builder/098.php
@@ -1,6 +1,6 @@
1
<?php
2
3
-// Note that the second parameter of the ``get_compiled_select`` method is false
+// Note that the parameter of the `getCompiledSelect()` method is false
4
$sql = $builder->select(['field1', 'field2'])
5
->where('field3', 5)
6
->getCompiledSelect(false);
@@ -13,5 +13,5 @@
13
$data = $builder->get()->getResultArray();
14
/*
15
* Would execute and return an array of results of the following query:
16
- * SELECT field1, field1 from mytable where field3 = 5;
+ * SELECT field1, field2 FROM mytable WHERE field3 = 5;
17
*/
0 commit comments