Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeaQL/sea-orm
/ json_uniq
Function
json_uniq
sea-orm-migration/src/schema.rs:518–520 ·
view source on GitHub ↗
(col: T)
Source
from the content-addressed store, hash-verified
516
}
517
518
pub fn json_uniq<T: IntoIden>(col: T) -> ColumnDef {
519
json(col).unique_key().take()
520
}
521
522
pub fn json_binary<T: IntoIden>(col: T) -> ColumnDef {
523
ColumnDef::new(col).json_binary().not_null().take()
Callers
nothing calls this directly
Calls
2
json
Function · 0.85
take
Method · 0.80
Tested by
no test coverage detected