jacket
Search the docs
/
API
Tools
Playground
0.31.0
Postgres module
← Postgres
Error
error_fields
error_text
free_error
sqlstate_text
sqlstate_class
sqlstate_of
On this page
See also
std
/
Extensions
/
Postgres
/
sqlstate_text
sqlstate_text
procedure · 1 overload
since 0.27.0
Source
The five characters of a code, in temporary storage.
code: the code to spell out.
sqlstate_text
:: (code:
Sqlstate
) ->
string
The five characters of a code, in temporary storage.
Parameters
code
:
Sqlstate
the code to spell out.
Returns
string
See also
error_text
free_error
sqlstate_class
sqlstate_of