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

Method module_name

src/entity/base_entity.rs:32–34  ·  view source on GitHub ↗

Get the name of the module from the invoking `self.table_name()`

(&self)

Source from the content-addressed store, hash-verified

30
31 /// Get the name of the module from the invoking `self.table_name()`
32 fn module_name(&self) -> &str {
33 self.table_name()
34 }
35
36 /// Get the [TableRef] from invoking the `self.schema_name()`
37 fn table_ref(&self) -> TableRef {

Callers

nothing calls this directly

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 1

table_nameMethod · 0.45

Tested by

no test coverage detected