Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeaQL/sea-orm
/ string_null
Function
string_null
sea-orm-migration/src/schema.rs:121–123 ·
view source on GitHub ↗
(col: T)
Source
from the content-addressed store, hash-verified
119
}
120
121
pub fn string_null<T: IntoIden>(col: T) -> ColumnDef {
122
ColumnDef::new(col).string().null().take()
123
}
124
125
pub fn string_uniq<T: IntoIden>(col: T) -> ColumnDef {
126
string(col).unique_key().take()
Callers
7
up
Method · 0.85
up
Method · 0.85
up
Method · 0.85
up
Method · 0.85
up
Method · 0.85
up
Method · 0.85
up
Method · 0.85
Calls
3
take
Method · 0.80
new
Function · 0.50
null
Method · 0.45
Tested by
no test coverage detected