MCPcopy 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
341pub fn timestamp_uniq<T: IntoIden>(col: T) -> ColumnDef {
342 timestamp(col).unique_key().take()
343}
344
345pub fn timestamp_with_time_zone<T: IntoIden>(col: T) -> ColumnDef {
346 ColumnDef::new(col)

Callers

nothing calls this directly

Calls 2

timestampFunction · 0.85
takeMethod · 0.80

Tested by

no test coverage detected