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

Method def

src/entity/column.rs:327–336  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

325
326impl ColumnTypeTrait for ColumnType {
327 fn def(self) -> ColumnDef {
328 ColumnDef {
329 col_type: self,
330 null: false,
331 unique: false,
332 indexed: false,
333 default: None,
334 comment: None,
335 }
336 }
337
338 fn get_enum_name(&self) -> Option<&DynIden> {
339 enum_name(self)

Callers 8

toMethod · 0.45
create_enum_from_entityFunction · 0.45
create_index_from_entityFunction · 0.45
create_table_from_entityFunction · 0.45
db_typeMethod · 0.45
cast_enum_asFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected