The server name of the statement a query with this text and these parameter types is prepared
as (j and 16 hex digits), for looking it up in pg_prepared_statements.
- sql: the statement text as sent to the server.
- parameter_types: the parameter type OIDs it was prepared with; none by default.
statement_name :: (sql: string, parameter_types: [] u32 = .[]) -> string
The server name of the statement a query with this text and these parameter types is prepared
as (j and 16 hex digits), for looking it up in pg_prepared_statements.
Parameters
- sql: string
- the statement text as sent to the server.
- parameter_types: [] u32
- the parameter type OIDs it was prepared with; none by default.
Returns
- string