问题内容使用gorm查询selectdatabase(),结果报错,提示unsupporteddestination,shouldbesliceorstruct代码如下:funcshowCurrentDb(){vardatabasestringpersistence.GetDB().Raw("selectdatabase()").Scan(&database)
gorm Raw原生查询 unsupported destination, should be slice or struct
