📅  最后修改于: 2022-03-11 14:57:07.599000             🧑  作者: Mango
// Returns [1] in "mysql", "sqlite", "oracle"; [] in "postgresql" unless the 'returning' parameter is set.
knex('books').insert({title: 'Slaughterhouse Five'})Outputs:insert into `books` (`title`) values ('Slaughterhouse Five')