func SelectAd() {
engine := _init_db("xxx", "9030", "xxx")
var ad FlowAdUrlStat
if _, err := engine.Where("opt_YYYYMMDD = ?", 20240626).Get(&ad); err != nil {
log.Fatal(err)
}
fmt.Println(ad)
}
2024/06/27 10:33:19 Error 1105 (HY000): errCode = 2, detailMessage = Only support prepare SelectStmt point query now