Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeaQL/sea-orm
/ char_null
Function
char_null
sea-orm-migration/src/schema.rs:97–99 ·
view source on GitHub ↗
(col: T)
Source
from the content-addressed store, hash-verified
95
}
96
97
pub fn char_null<T: IntoIden>(col: T) -> ColumnDef {
98
ColumnDef::new(col).char().null().take()
99
}
100
101
pub fn char_uniq<T: IntoIden>(col: T) -> ColumnDef {
102
char(col).unique_key().take()
Callers
nothing calls this directly
Calls
3
take
Method · 0.80
new
Function · 0.50
null
Method · 0.45
Tested by
no test coverage detected