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

Method set_schema_search_path

src/database/mod.rs:330–336  ·  view source on GitHub ↗

Set schema search path (PostgreSQL only)

(&mut self, schema_search_path: T)

Source from the content-addressed store, hash-verified

328
329 /// Set schema search path (PostgreSQL only)
330 pub fn set_schema_search_path<T>(&mut self, schema_search_path: T) -> &mut Self
331 where
332 T: Into<String>,
333 {
334 self.schema_search_path = Some(schema_search_path.into());
335 self
336 }
337
338 /// If true, the connection will be pinged upon acquiring from the pool (default true).
339 pub fn test_before_acquire(&mut self, value: bool) -> &mut Self {

Callers 3

run_cli_with_connectionFunction · 0.80
run_migrationFunction · 0.80

Calls

no outgoing calls

Tested by 2

run_migrationFunction · 0.64