Closed glommer closed 11 months ago
Cloudflare D1 allows you to deserialize the ResultSet straight into a struct:
https://github.com/cloudflare/workers-rs#example-usage-1
We should have a way to do the same. We can deserialize Row, but maybe there's a more efficient way by doing it earlier, before we build the Row struct.
Row
This should be implemented already, since Row supports Deserialize.
(CC @LucioFranco )
Cloudflare D1 allows you to deserialize the ResultSet straight into a struct:
https://github.com/cloudflare/workers-rs#example-usage-1
We should have a way to do the same. We can deserialize
Row
, but maybe there's a more efficient way by doing it earlier, before we build theRow
struct.