MCPcopy Create free account
hub / github.com/SeaQL/sea-orm / timestamp

Function timestamp

sea-orm-migration/src/schema.rs:333–335  ·  view source on GitHub ↗
(col: T)

Source from the content-addressed store, hash-verified

331}
332
333pub fn timestamp<T: IntoIden>(col: T) -> ColumnDef {
334 ColumnDef::new(col).timestamp().not_null().take()
335}
336
337pub fn timestamp_null<T: IntoIden>(col: T) -> ColumnDef {
338 ColumnDef::new(col).timestamp().null().take()

Callers 2

timestamp_uniqFunction · 0.85
timestampsFunction · 0.85

Calls 2

takeMethod · 0.80
newFunction · 0.50

Tested by

no test coverage detected