Rust Diesel raw SQL gives error “type annotations needed for `std::result::Result, diesel::result::Error>`”

前端 未结 0 666
孤城傲影
孤城傲影 2021-01-24 18:55

I am trying out simple raw SQL to MySQL using Diesel as shown in this example:

https://docs.diesel.rs/diesel/fn.sql_query.html

let users = sql_query("         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题