graphile_worker_database 0.1.5

Database driver abstraction for graphile_worker
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::{DbCell, DbRow};

pub fn cells(values: impl IntoIterator<Item = (impl Into<String>, DbCell)>) -> DbRow {
    DbRow::new(
        values
            .into_iter()
            .map(|(name, value)| (name.into(), value))
            .collect(),
    )
}