package db import "xorm.io/xorm" // QueryNativeString 查询原生sql func QueryNativeString(Db *xorm.Engine, sql string, args ...interface{}) ([]map[string]string, error) { results, err := Db.SQL(sql, args...).QueryString() return results, err }