sqlx-exasol-impl 0.9.2

Driver implementation for sqlx-exasol. Not meant to be used directly.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::Deserialize;
use serde_json::Value;

use super::to_row_major;

/// Struct returned by doing [fetch](<https://github.com/exasol/websocket-api/blob/master/docs/commands/fetchV1.md>)
/// calls on a result set.
#[derive(Debug, Deserialize, Default)]
#[serde(rename_all = "camelCase")]
pub struct DataChunk {
    pub num_rows: usize,
    #[serde(deserialize_with = "to_row_major")]
    pub data: Vec<Vec<Value>>,
}