tokio-postgres Questions

2

Solved

I am using the below code to insert to a Postgres DB using tokio-postgres, is there any better option : let members = &[obj] //obj is a struct let mut params = Vec::<&(dyn ToSql + Sync)&...
Anthracosilicosis asked 30/3, 2022 at 22:3

2

Solved

I am used to Scala's Future type where you wrap whatever object you're returning in Future[..] to designate it as such. My Rust function hello returns Query and I don't seem able to pass that resul...
Acme asked 31/8, 2021 at 18:28
1

© 2022 - 2024 — McMap. All rights reserved.