Skip to main content

Module column

Module column 

Source
Expand description

Typed column references. Generated by #[derive(Model)].

The point of Column<M, T> is compile-time type safety on the where clause: User::query().where_eq(User::columns().email(), 42) fails because 42 is i32, not String.

Structs§

Column
ColumnRef
Untyped column reference for the query builder’s internal use.