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

Function tiny_unsigned_null

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

Source from the content-addressed store, hash-verified

191}
192
193pub fn tiny_unsigned_null<T: IntoIden>(col: T) -> ColumnDef {
194 ColumnDef::new(col).tiny_unsigned().null().take()
195}
196
197pub fn tiny_unsigned_uniq<T: IntoIden>(col: T) -> ColumnDef {
198 tiny_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