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

Function string_null

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

Source from the content-addressed store, hash-verified

119}
120
121pub fn string_null<T: IntoIden>(col: T) -> ColumnDef {
122 ColumnDef::new(col).string().null().take()
123}
124
125pub fn string_uniq<T: IntoIden>(col: T) -> ColumnDef {
126 string(col).unique_key().take()

Callers 7

upMethod · 0.85
upMethod · 0.85
upMethod · 0.85
upMethod · 0.85
upMethod · 0.85
upMethod · 0.85
upMethod · 0.85

Calls 3

takeMethod · 0.80
newFunction · 0.50
nullMethod · 0.45

Tested by

no test coverage detected