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

Function small_integer_null

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

Source from the content-addressed store, hash-verified

155}
156
157pub fn small_integer_null<T: IntoIden>(col: T) -> ColumnDef {
158 ColumnDef::new(col).small_integer().null().take()
159}
160
161pub fn small_integer_uniq<T: IntoIden>(col: T) -> ColumnDef {
162 small_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