func (*DB) Exec

func (db *DB) Exec(query string, args ...interface{}) (Result, error)

Exec() 执行SQL而不返回任何行。 args 用于SQL语句中的任何占位符参数。