odbc-api-derive 12.1.1

Derive macros for odbc-api crate
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// A check, wether the derive syntax produces something that compiles. For a test actually fetching
// date from a database using this generated code, run the integration tests of `odbc-api` with the
// `derive` feature activated. We allow dead code here, because we do not intend to invoke the
// implementation here.
#![allow(dead_code)]

use odbc_api::parameter::VarCharArray;
use odbc_api_derive::Fetch;

#[derive(Fetch, Clone, Copy)]
struct MyRow {
    a: i64,
    b: VarCharArray<50>,
}