sqlx4k
Toggle table of contents
1.7.4
common
Target filter
common
Switch theme
Search in API
Skip to content
sqlx4k
sqlx4k-postgres-pgmq
/
io.github.smyrgeorge.sqlx4k.postgres.pgmq.impl.extensions
Package-level
declarations
Functions
Functions
archive
Link copied to clipboard
context
(
db
:
QueryExecutor
)
suspend
fun
archive
(
queue
:
String
,
id
:
Long
)
:
Result
<
Boolean
>
context
(
db
:
QueryExecutor
)
suspend
fun
archive
(
queue
:
String
,
ids
:
List
<
Long
>
)
:
Result
<
List
<
Long
>
>
bind
Topic
Link copied to clipboard
context
(
db
:
QueryExecutor
)
suspend
fun
bindTopic
(
pattern
:
String
,
queueName
:
String
)
:
Result
<
Unit
>
delete
Link copied to clipboard
context
(
db
:
QueryExecutor
)
suspend
fun
delete
(
queue
:
String
,
id
:
Long
)
:
Result
<
Boolean
>
context
(
db
:
QueryExecutor
)
suspend
fun
delete
(
queue
:
String
,
ids
:
List
<
Long
>
)
:
Result
<
List
<
Long
>
>
pop
Link copied to clipboard
context
(
db
:
QueryExecutor
)
suspend
fun
pop
(
queue
:
String
,
quantity
:
Int
=
1
)
:
Result
<
List
<
Message
>
>
read
Link copied to clipboard
context
(
db
:
QueryExecutor
)
suspend
fun
read
(
queue
:
String
,
quantity
:
Int
=
1
,
vt
:
Duration
=
30.seconds
)
:
Result
<
List
<
Message
>
>
send
Link copied to clipboard
context
(
db
:
QueryExecutor
)
suspend
fun
send
(
queue
:
String
,
message
:
String
,
headers
:
Map
<
String
,
String
>
=
emptyMap()
,
delay
:
Duration
=
0.seconds
)
:
Result
<
Long
>
context
(
db
:
QueryExecutor
)
suspend
fun
send
(
queue
:
String
,
messages
:
List
<
String
>
,
headers
:
Map
<
String
,
String
>
=
emptyMap()
,
delay
:
Duration
=
0.seconds
)
:
Result
<
List
<
Long
>
>
send
Topic
Link copied to clipboard
context
(
db
:
QueryExecutor
)
suspend
fun
sendTopic
(
routingKey
:
String
,
message
:
String
,
headers
:
Map
<
String
,
String
>
=
emptyMap()
,
delay
:
Duration
=
0.seconds
)
:
Result
<
Long
>
set
Vt
Link copied to clipboard
context
(
db
:
QueryExecutor
)
suspend
fun
setVt
(
queue
:
String
,
id
:
Long
,
vt
:
Duration
)
:
Result
<
Long
>