[−][src]Function pgx::varlena::rust_str_to_text_p
pub fn rust_str_to_text_p(s: &str) -> PgBox<varlena>
Convert a Rust &str
into a Postgres text *
.
This allocates the returned Postgres text *
in CurrentMemoryContext
.