anage_oldprob@lemmy.worldtoRust Programming@lemmy.ml•Lemmy Rust code needs help, Diesel ORM quick change, adding a select field to SiteAggregates::read
8·
1 year agoLooking at the diesel docs it should be site_aggregates::table.filter(site_aggregates::site_id.eq(1)).load(…
https://diesel.rs/ see the third example
Try
site_aggregates::dsl::site_id.eq(1)
.