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.
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.