odbc-api-helper 0.2.5

odbc-api helper
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::executor::table::TableDescResult;
use crate::TryConvert;
use dameng_helper::table::DmTableDesc;

impl TryConvert<DmTableDesc> for TableDescResult {
    type Error = anyhow::Error;

    fn try_convert(self) -> Result<DmTableDesc, Self::Error> {
        DmTableDesc::new(self.0, self.1)
    }
}