micro_utils.dokka
0.14.0
common
micro_utils.dokka
/
dev.inmo.micro_utils.repos.versions
/
[common]KeyValueBasedVersionsRepoProxy
Key
Value
Based
Versions
Repo
Proxy
class
KeyValueBasedVersionsRepoProxy
<
T
>
(
keyValueStore
:
KeyValueRepo
<
String
,
Int
>
,
val
database
:
T
)
:
StandardVersionsRepoProxy
<
T
>
Constructors
Functions
Properties
Constructors
Key
Value
Based
Versions
Repo
Proxy
Link copied to clipboard
fun
<
T
>
KeyValueBasedVersionsRepoProxy
(
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