micro_utils.dokka
0.19.2
common
micro_utils.dokka
/
dev.inmo.micro_utils.repos.versions
/
KeyValueBasedVersionsRepoProxy
Key
Value
Based
Versions
Repo
Proxy
class
KeyValueBasedVersionsRepoProxy
<
T
>
(
keyValueStore
:
KeyValueRepo
<
String
,
Int
>
,
val
database
:
T
)
:
StandardVersionsRepoProxy
<
T
>
Members
Constructors
Key
Value
Based
Versions
Repo
Proxy
Link copied to clipboard
constructor
(
keyValueStore
:
KeyValueRepo
<
String
,
Int
>
,
database
:
T
)
Functions
get
Table
Version
Link copied to clipboard
open
suspend override
fun
getTableVersion
(
tableName
:
String
)
:
Int
?
update
Table
Version
Link copied to clipboard
open
suspend override
fun
updateTableVersion
(
tableName
:
String
,
version
:
Int
)
Properties
database
Link copied to clipboard
open
override
val
database
:
T