Merge pull request #1409 from wubzz/bugfix/faulty_returning_documentation

Fix faulty documentation of MySQL support of .returning. Fixes #1398
This commit is contained in:
wubzz 2016-05-14 22:57:51 +02:00
commit c3aba51888

View File

@ -1275,7 +1275,7 @@ knex('coords').insert([{x: 20}, {y: 30}, {x: 10, y: 20}])
<p id="Builder-returning">
<b class="header">returning</b><code>.returning(column) / .returning([column1, column2, ...])</code>
<br />
Utilized by PostgreSQL, MySQL, and Oracle databases, the returning method specifies which column should be returned
Utilized by PostgreSQL, MSSQL, and Oracle databases, the returning method specifies which column should be returned
by the <a href="#Builder-insert">insert</a> and <a href="#Builder-update">update</a> methods.
<br />
Passed <tt>column</tt> parameter may be a string or an array of strings. When passed in a string,