MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / dump_sql

Method dump_sql

src/pglite/server.rs:110–115  ·  view source on GitHub ↗
(&self, options: PgDumpOptions)

Source from the content-addressed store, hash-verified

108 /// Run the bundled WASIX `pg_dump` against this server and return SQL text.
109 #[cfg(feature = "extensions")]
110 pub fn dump_sql(&self, options: PgDumpOptions) -> Result<String> {
111 let addr = self
112 .tcp_addr()
113 .context("pg_dump currently requires a TCP PgliteServer endpoint")?;
114 dump_server_sql(addr, &options)
115 }
116
117 /// Run the bundled WASIX `pg_dump` and return UTF-8 SQL bytes.
118 #[cfg(feature = "extensions")]

Calls 2

dump_server_sqlFunction · 0.85
tcp_addrMethod · 0.80