[][src]Function latitude::prelude::types::primary

pub fn primary() -> Type

A standard primary numeric key type

It's 64-bit wide, can't be null or non-unique and auto-increments on inserts. Maps to primary on Pg and manually enforces this behaviour for other Sql variants.