mysqlruby. I have code like this: require 'mysql2' @db.query("insert into clients (Name) values ('#{client}')"). Can I return last inserted id with 1 query?
確定! 回上一頁