Function clickhouse_postgres_client::fetch_optional
source · pub async fn fetch_optional<'c, 'q, 'async_trait, E>(
sql: &'q str,
executor: E
) -> Result<Option<ClickhousePgRow>, SqlxError>where
E: ClickhouseExecutor<'c, 'q, 'async_trait, ClickhousePgRow>,
ClickhousePgRow: From<<E::Database as SqlxDatabase>::Row>,
'c: 'async_trait,
'q: 'async_trait,