sqlx4k
Toggle table of contents
1.5.5
common
Target filter
common
Switch theme
Search in API
Skip to content
sqlx4k
sqlx4k-postgres-pgmq
/
io.github.smyrgeorge.sqlx4k.postgres.pgmq.impl
/
PgMqDbAdapterImpl
Pg
Mq
Db
Adapter
Impl
class
PgMqDbAdapterImpl
(
pg
:
IPostgresSQL
)
:
PgMqDbAdapter
(
source
)
Members
Constructors
Pg
Mq
Db
Adapter
Impl
Link copied to clipboard
constructor
(
pg
:
IPostgresSQL
)
Properties
encoders
Link copied to clipboard
open
override
val
encoders
:
ValueEncoderRegistry
Functions
begin
Link copied to clipboard
open
suspend override
fun
begin
(
)
:
Result
<
Transaction
>
execute
Link copied to clipboard
open
suspend
fun
execute
(
statement
:
Statement
)
:
Result
<
Long
>
open
suspend override
fun
execute
(
sql
:
String
)
:
Result
<
Long
>
fetch
All
Link copied to clipboard
open
suspend
fun
fetchAll
(
statement
:
Statement
)
:
Result
<
ResultSet
>
open
suspend
fun
<
T
>
fetchAll
(
statement
:
Statement
,
rowMapper
:
RowMapper
<
T
>
)
:
Result
<
List
<
T
>
>
open
suspend
fun
<
T
>
fetchAll
(
sql
:
String
,
rowMapper
:
RowMapper
<
T
>
)
:
Result
<
List
<
T
>
>
open
suspend override
fun
fetchAll
(
sql
:
String
)
:
Result
<
ResultSet
>
listen
Link copied to clipboard
open
suspend override
fun
listen
(
channel
:
String
,
f
:
suspend
(
Notification
)
->
Unit
)
transaction
Link copied to clipboard
open
suspend
fun
<
T
>
transaction
(
f
:
suspend
Transaction
.
(
)
->
T
)
:
T
transaction
Catching
Link copied to clipboard
open
suspend
fun
<
T
>
transactionCatching
(
f
:
suspend
Transaction
.
(
)
->
T
)
:
Result
<
T
>