mirror of
https://github.com/facebook/sapling.git
synced 2024-10-16 11:52:02 +03:00
1e5ddafbd4
Summary: Diesel looks quite promising overall, as long as we can ensure async operations work. Some basic notes: * This just looks async but isn't really -- doing that would need a way to send queries over to a thread pool. (cc kulshrax) * It is unfortunate that we must use a macro for the exact same `add` code across MySQL and SQLite. There doesn't appear to be a way out though -- there is no trait bound that we can apply to the `add` method here. This is currently pretend-async -- it would be good to make this really async, but that should wait for a future diff IMO Reviewed By: StanislavGlebik Differential Revision: D6932028 fbshipit-source-id: ac1cfde3b96bb790f00b73d49c6d90ed128f0255 |
||
---|---|---|
.. | ||
main.rs |