Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeaQL/sea-orm
/ timestamp_uniq
Function
timestamp_uniq
sea-orm-migration/src/schema.rs:341–343 ·
view source on GitHub ↗
(col: T)
Source
from the content-addressed store, hash-verified
339
}
340
341
pub fn timestamp_uniq<T: IntoIden>(col: T) -> ColumnDef {
342
timestamp(col).unique_key().take()
343
}
344
345
pub fn timestamp_with_time_zone<T: IntoIden>(col: T) -> ColumnDef {
346
ColumnDef::new(col)
Callers
nothing calls this directly
Calls
2
timestamp
Function · 0.85
take
Method · 0.80
Tested by
no test coverage detected