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

Method nullable

src/entity/column.rs:379–382  ·  view source on GitHub ↗

Mark the column as nullable

(mut self)

Source from the content-addressed store, hash-verified

377
378 /// Mark the column as nullable
379 pub fn nullable(mut self) -> Self {
380 self.null = true;
381 self
382 }
383
384 /// Set the `indexed` field to `true`
385 pub fn indexed(mut self) -> Self {

Callers 3

defMethod · 0.80
nullMethod · 0.80
defMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected