MCPcopy Create free account
hub / github.com/SeaQL/sea-orm / tiny_integer_null

Function tiny_integer_null

sea-orm-migration/src/schema.rs:145–147  ·  view source on GitHub ↗
(col: T)

Source from the content-addressed store, hash-verified

143}
144
145pub fn tiny_integer_null<T: IntoIden>(col: T) -> ColumnDef {
146 ColumnDef::new(col).tiny_integer().null().take()
147}
148
149pub fn tiny_integer_uniq<T: IntoIden>(col: T) -> ColumnDef {
150 tiny_integer(col).unique_key().take()

Callers

nothing calls this directly

Calls 3

takeMethod · 0.80
newFunction · 0.50
nullMethod · 0.45

Tested by

no test coverage detected