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

Method min_connections

src/database/mod.rs:223–226  ·  view source on GitHub ↗

Set the minimum number of connections of the pool

(&mut self, value: u32)

Source from the content-addressed store, hash-verified

221
222 /// Set the minimum number of connections of the pool
223 pub fn min_connections(&mut self, value: u32) -> &mut Self {
224 self.min_connections = Some(value);
225 self
226 }
227
228 /// Get the minimum number of connections of the pool, if set
229 pub fn get_min_connections(&self) -> Option<u32> {

Callers 3

sqlx_pool_optionsMethod · 0.80
initMethod · 0.80
initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected