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
Execute: withSQL { sqls("select * from table") }.first.future()
This returns TooManyRowsError. The reason is that future() does not take into account the isSingle = false value set by first. See AsyncSQLs.AsyncSQLToOption.
Fix: The implementation of future() should check the isSingle field before calling session.single.
Workaround: Execute with limit like so: withSQL { sqls("select * from table limit 1") }.first.future()