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

Function integer_null

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

Source from the content-addressed store, hash-verified

167}
168
169pub fn integer_null<T: IntoIden>(col: T) -> ColumnDef {
170 ColumnDef::new(col).integer().null().take()
171}
172
173pub fn integer_uniq<T: IntoIden>(col: T) -> ColumnDef {
174 integer(col).unique_key().take()

Callers 1

upMethod · 0.85

Calls 3

takeMethod · 0.80
newFunction · 0.50
nullMethod · 0.45

Tested by

no test coverage detected