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

Method schema_name

src/entity/base_entity.rs:19–21  ·  view source on GitHub ↗

Method to get the name for the schema, defaults to [Option::None] if not set

(&self)

Source from the content-addressed store, hash-verified

17pub trait EntityName: IdenStatic + Default {
18 /// Method to get the name for the schema, defaults to [Option::None] if not set
19 fn schema_name(&self) -> Option<&str> {
20 None
21 }
22
23 /// Method to get the comment for the schema, defaults to [Option::None] if not set
24 fn comment(&self) -> Option<&str> {

Callers 1

table_refMethod · 0.45

Implementers 15

lunch_set_expanded.rssrc/tests_cfg/lunch_set_expanded.rs
cake_filling.rssrc/tests_cfg/cake_filling.rs
cake_filling_price.rssrc/tests_cfg/cake_filling_price.rs
indexes.rssrc/tests_cfg/indexes.rs
cake_expanded.rssrc/tests_cfg/cake_expanded.rs
column_name_2src/entity/column.rs
enum_name_2src/entity/column.rs
column_name_enum_name_2src/entity/column.rs
select_as_1src/entity/column.rs
save_as_1src/entity/column.rs
select_as_and_value_1src/entity/column.rs
dyn_table_name_lazy_static.rstests/common/features/dyn_table_name_l

Calls

no outgoing calls

Tested by

no test coverage detected