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

Method sqlx_logging

src/database/mod.rs:278–281  ·  view source on GitHub ↗

Enable SQLx statement logging (default true)

(&mut self, value: bool)

Source from the content-addressed store, hash-verified

276
277 /// Enable SQLx statement logging (default true)
278 pub fn sqlx_logging(&mut self, value: bool) -> &mut Self {
279 self.sqlx_logging = value;
280 self
281 }
282
283 /// Get whether SQLx statement logging is enabled
284 pub fn get_sqlx_logging(&self) -> bool {

Callers 2

setupFunction · 0.80
initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected