clickhouse-rs icon indicating copy to clipboard operation
clickhouse-rs copied to clipboard

try to covert to block to Vec<T>

Open somewheve opened this issue 4 years ago • 4 comments

When we want to query data from clickhouse, and covert to struct fast.

so hope to get this code:

#[derive(BlockWrap)]
pub struct Person {
   name: String,
   age: i32
}
let data = block.into() 

How do you think about this?

somewheve avatar Oct 27 '20 12:10 somewheve

It's a great idea. It allows making API easy to use and high-performance.

suharev7 avatar Nov 01 '20 19:11 suharev7

Ok let me think about how to implement it

somewheve avatar Nov 02 '20 05:11 somewheve

use macro will make things easier ~

somewheve avatar Nov 02 '20 12:11 somewheve

@suharev7 Is there any im software can contact you?

somewheve avatar Nov 09 '20 08:11 somewheve