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

Function small_unsigned_null

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

Source from the content-addressed store, hash-verified

203}
204
205pub fn small_unsigned_null<T: IntoIden>(col: T) -> ColumnDef {
206 ColumnDef::new(col).small_unsigned().null().take()
207}
208
209pub fn small_unsigned_uniq<T: IntoIden>(col: T) -> ColumnDef {
210 small_unsigned(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