

9·
2 years 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
Looking 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)
.