smallnest / gitalk

gitalk for colobu
19 stars 0 forks source link

sqlx: 一个优秀的rust异步SQL库 #299

Open utterances-bot opened 2 months ago

utterances-bot commented 2 months ago

sqlx: 一个优秀的rust异步SQL库

上一篇我介绍了Go生态圈的sqlx库。 Rust生态圈也有一个知名的sqlx库,今天给大家介绍一下。这两个没有什么关联啊,纯粹属于名称相同而已。

https://colobu.com/2024/05/12/sqlx-an-async-pure-Rust-SQL-crate/

vsnote commented 2 months ago
#[derive(Deserialize, Serialize)]
struct Product {
    id: i32,
    name: String,
    price: f64,
}

当这里有 BigDecimal 类型的字段时,会报错,不知道有什么好的解决方法