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

Function native_postgres_sqlx_options

xtask/src/main.rs:2231–2238  ·  view source on GitHub ↗
(native: &NativePostgres)

Source from the content-addressed store, hash-verified

2229}
2230
2231fn native_postgres_sqlx_options(native: &NativePostgres) -> PgConnectOptions {
2232 PgConnectOptions::new_without_pgpass()
2233 .host("127.0.0.1")
2234 .port(native.port)
2235 .username("postgres")
2236 .database("postgres")
2237 .ssl_mode(PgSslMode::Disable)
2238}
2239
2240fn perf_pglite_nodefs_sqlx(args: &[String]) -> Result<()> {
2241 let mut database_url: Option<String> = None;

Callers 1

perf_native_postgresFunction · 0.85

Calls 2

databaseMethod · 0.45
usernameMethod · 0.45

Tested by

no test coverage detected