drizzle-core 0.1.14

A type-safe SQL query builder for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
/// Typed (non-dyn) primary key metadata.
pub trait SQLPrimaryKey {
    type Table;
    type Columns;
}

/// Marker used for tables that do not define a primary key.
pub struct NoPrimaryKey;

impl SQLPrimaryKey for NoPrimaryKey {
    type Table = ();
    type Columns = ();
}