Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
169
pub fn integer_null<T: IntoIden>(col: T) -> ColumnDef {
170
ColumnDef::new(col).integer().null().take()
171
}
172
173
pub fn integer_uniq<T: IntoIden>(col: T) -> ColumnDef {
174
integer(col).unique_key().take()
Callers
1
up
Method · 0.85
Calls
3
take
Method · 0.80
new
Function · 0.50
null
Method · 0.45
Tested by
no test coverage detected