drogonframework / drogonframework/drogon
Create a one-to-many relationship coroutines function for drogon_models
Open
- Dominant language
- C++
- Stars
- 14.3k
- Forks
- 1.4k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 15
Description
I know one more feature that seems to still be missing in drogon_model.
Currently, Drogon already supports coroutines, but when using drogon_model to generate relationships, it still does not generate functions that can be used with co_await.
For example:
```cpp
auto a{co_await users.getA()};
```
I have to user callback approach, you can check in my project https://github.com/[bac-ptit/vip](https://github.com/bac-ptit/vip)
Contributor guide
Assessment
This issue has not been assessed yet.