ClickHouse / ClickHouse/clickhouse-cpp

new feature needed : suport coroutine for co_yield c++20

Open
#305 7 comments 0 reactions 0 assignees View on GitHub
enhancement need-info
Dominant language
C
Stars
382
Forks
209
Avg merge
3h 58m
Merged PRs (30d)
12

Description

```c++
client.Select("SELECT id, name FROM default.numbers", [] (const Block& block) -> std::generator
{
for (size_t i = 0; i < block.GetRowCount(); ++i) {
std::cout << block[0]->As()->At(i) << " "
<< block[1]->As()->At(i) << "\n";
co_yield block ;
}
}
);
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.