Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeaQL/sea-orm
/ text_null
Function
text_null
sea-orm-migration/src/schema.rs:133–135 ·
view source on GitHub ↗
(col: T)
Source
from the content-addressed store, hash-verified
131
}
132
133
pub fn text_null<T: IntoIden>(col: T) -> ColumnDef {
134
ColumnDef::new(col).text().null().take()
135
}
136
137
pub fn text_uniq<T: IntoIden>(col: T) -> ColumnDef {
138
text(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