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
Compiler Errors unless the method .as_query() on foo::table is used.
pubfnis_episodes_populated() -> Result<bool,Error>{use schema::episode::dsl::*;let db = connection();// Using r2d2let con = db.get()?;select(exists(episode)).get_result(&con).map_err(From::from)}
Compiler Errors unless the method
.as_query()
onfoo::table
is used.Error: https://paste.gnome.org/prsogzgak
Changing the
select
toselect(exists(episode.as_query()))
works, but @sgrif saidthat ideally the explicit
.as_query()
should not be required.The text was updated successfully, but these errors were encountered: