libnexakotlin
Toggle table of contents
0.5.12
common
Platform filter
common
Switch theme
Search in API
libnexakotlin
libnexakotlin
/
KvDb
/
KvpDbQueries
Kvp
Db
Queries
class
KvpDbQueries
(
driver
:
SqlDriver
)
:
TransacterImpl
Members
Constructors
Kvp
Db
Queries
Link copied to clipboard
constructor
(
driver
:
SqlDriver
)
Functions
delete
Link copied to clipboard
fun
delete
(
id
:
ByteArray
)
:
QueryResult
<
Long
>
delete
All
Link copied to clipboard
fun
deleteAll
(
)
:
QueryResult
<
Long
>
get
Link copied to clipboard
fun
get
(
id
:
ByteArray
)
:
Query
<
KvpDb
>
fun
<
T
:
Any
>
get
(
id
:
ByteArray
,
mapper
:
(
id
:
ByteArray
,
valu
:
ByteArray
)
->
T
)
:
Query
<
T
>
insert
Link copied to clipboard
fun
insert
(
id
:
ByteArray
,
valu
:
ByteArray
)
:
QueryResult
<
Long
>
transaction
Link copied to clipboard
open
override
fun
transaction
(
noEnclosing
:
Boolean
,
body
:
TransactionWithoutReturn
.
(
)
->
Unit
)
transaction
With
Result
Link copied to clipboard
open
override
fun
<
R
>
transactionWithResult
(
noEnclosing
:
Boolean
,
bodyWithReturn
:
TransactionWithReturn
<
R
>
.
(
)
->
R
)
:
R
update
Link copied to clipboard
fun
update
(
valu
:
ByteArray
,
id
:
ByteArray
)
:
QueryResult
<
Long
>
upsert
Link copied to clipboard
fun
upsert
(
id
:
ByteArray
,
valu
:
ByteArray
)
:
QueryResult
<
Long
>