mirror of
https://github.com/knex/knex.git
synced 2025-12-14 16:47:08 +00:00
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:
commit
c3aba51888
@ -1275,7 +1275,7 @@ knex('coords').insert([{x: 20}, {y: 30}, {x: 10, y: 20}])
|
|||||||
<p id="Builder-returning">
|
<p id="Builder-returning">
|
||||||
<b class="header">returning</b><code>.returning(column) / .returning([column1, column2, ...])</code>
|
<b class="header">returning</b><code>.returning(column) / .returning([column1, column2, ...])</code>
|
||||||
<br />
|
<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.
|
by the <a href="#Builder-insert">insert</a> and <a href="#Builder-update">update</a> methods.
|
||||||
<br />
|
<br />
|
||||||
Passed <tt>column</tt> parameter may be a string or an array of strings. When passed in a string,
|
Passed <tt>column</tt> parameter may be a string or an array of strings. When passed in a string,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user