mirror of
https://gitee.com/johng/gf
synced 2026-06-07 02:12:11 +08:00
improve time string parsing for invalid datetime
This commit is contained in:
@ -8,10 +8,6 @@ func main() {
|
||||
db := g.DB()
|
||||
db.SetDebug(true)
|
||||
|
||||
one, e := db.Table("order.order o").LeftJoin("user.user u", "o.uid=u.id").Where("u.id", 1).One()
|
||||
if e != nil {
|
||||
panic(e)
|
||||
}
|
||||
g.Dump(one)
|
||||
db.Table("user").Fields("DISTINCT id,nickname").Filter().All()
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user