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

Method get_info

sea-orm-codegen/src/entity/column.rs:215–229  ·  view source on GitHub ↗
(&self, date_time_crate: &DateTimeCrate)

Source from the content-addressed store, hash-verified

213 }
214
215 pub fn get_info(&self, date_time_crate: &DateTimeCrate) -> String {
216 let mut info = String::new();
217 let type_info = self
218 .get_rs_type(date_time_crate)
219 .to_string()
220 .replace(' ', "");
221 let col_info = self.col_info();
222 write!(
223 &mut info,
224 "Column `{}`: {}{}",
225 self.name, type_info, col_info
226 )
227 .unwrap();
228 info
229 }
230
231 fn col_info(&self) -> String {
232 let mut info = String::new();

Callers 1

write_entitiesMethod · 0.80

Calls 4

get_rs_typeMethod · 0.80
col_infoMethod · 0.80
unwrapMethod · 0.80
newFunction · 0.50

Tested by

no test coverage detected