Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
only supply the id attribute to knex.insert for drivers that support it
Knex 0.16.4 began warning when the returning attribute is supplied for dialects that do not support it. These dialects currently include MySQL and SQLite3. Supplying this attribute is a no-op for those dialects, so excluding them is safe and eliminates the warning. More information: knex/knex#3039
- Loading branch information