cartel-pg 0.22.0

Async PostgreSQL driver for the dope runtime
Documentation
1
2
3
4
5
6
7
8
use crate::schema::Row;

/// Constructs a named view from its statically described wire fields.
pub trait Project: Row {
    type Fields: Row;

    fn project<'row>(fields: <Self::Fields as Row>::View<'row>) -> Self::View<'row>;
}