You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varexpectSql="SELECT * FROM `Users` WHERE username = 'afumu' OR age = 20"sessionDb:=checkSelectSql(t, expectSql)
query, u:=gplus.NewQuery[User]()
query.Eq(&u.Username, "afumu").Or().Eq(&u.Age, 20).Apply("AND id IN (SELECT user_id FROM app_user)")
gplus.SelectList[User](query, gplus.Db(sessionDb))
The text was updated successfully, but these errors were encountered:
需求案例场景:子查询、自定义sql片段
伪代码:
The text was updated successfully, but these errors were encountered: