octavius-postgresql
Toggle table of contents
0.9.9
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
octavius-postgresql
client
/
io.github.octaviusframework.client.query
/
RunnableQuery
/
fetchObjectStrict
fetch
Object
Strict
inline
fun
<
T
:
Any
>
fetchObjectStrict
(
params
:
Map
<
String
,
Any
?
>
=
emptyMap()
)
:
T
inline
fun
<
T
:
Any
>
fetchObjectStrict
(
vararg
params
:
Pair
<
String
,
Any
?
>
)
:
T
Runs the query and maps its single row onto
T
, throwing where the count was anything but one.