sapling/eden/mononoke/mutable_counters
Alex Hornby 2ff9ad0fea rust: async sql queries macros
Summary:
Async the query macros.  This change also migrates most callsites, with a few more complicated ones handle as separate diffs, which temporarily use sql01::queries in this diff.

With this change the query string is computed lazily (async fn/blocks being lazy) so we're not holding the extra memory of query string as well as query params for quite as long.  This is of most interest for queries doing writes where the query string can be large when large values passed (e.g. Mononoke sqlblob blobstore )

Reviewed By: krallin

Differential Revision: D26586715

fbshipit-source-id: e299932457682b0678734f44bb4bfb0b966edeec
2021-03-04 01:52:41 -08:00
..
schemas mononoke: cover more crates with OSS buildability that depend on cmdlib crate 2020-04-08 03:09:07 -07:00
src rust: async sql queries macros 2021-03-04 01:52:41 -08:00
test mononoke: remove tokio-compat (i.e. use tokio 0.2 exclusively) 2021-02-22 09:22:42 -08:00
Cargo.toml rust: async sql queries macros 2021-03-04 01:52:41 -08:00