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

Function char_null

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

Source from the content-addressed store, hash-verified

95}
96
97pub fn char_null<T: IntoIden>(col: T) -> ColumnDef {
98 ColumnDef::new(col).char().null().take()
99}
100
101pub fn char_uniq<T: IntoIden>(col: T) -> ColumnDef {
102 char(col).unique_key().take()

Callers

nothing calls this directly

Calls 3

takeMethod · 0.80
newFunction · 0.50
nullMethod · 0.45

Tested by

no test coverage detected