[][src]Function pgx::wrappers::rust_regtypein

pub fn rust_regtypein<T>() -> Oid

A helper function for Postgres' regtypein function to lookup a type using the name of a Rust type

We truncate the type name to its last value, unless its a primitive type.

Returns the oid of the specified type name. Will panic if Postgres can't find the type