<Dominik/>
<Dominik/>
CDCloudflare Developers
Created by avsaase on 5/1/2024 in #🦀rust-on-workers
SQLX
I had the same idea. Theoretically you could use the local D1 (via miniflare probably?) to get the types. Tho getting this feature into the macro would probably rely on a rework of sqlx macro itself as proposed here: https://github.com/launchbadge/sqlx/issues/1598. Also detecting dev target is easy with cfg(debug_assertions) no?
12 replies