Merge pull request #48 from InsanusMokrassar/0.4.27

0.4.27
This commit is contained in:
2021-02-23 13:09:04 +06:00
committed by GitHub
3 changed files with 9 additions and 5 deletions

View File

@@ -1,5 +1,7 @@
# Changelog
## 0.4.27
## 0.4.26
* `Versions`:

View File

@@ -44,5 +44,5 @@ dokka_version=1.4.20
# Project data
group=dev.inmo
version=0.4.26
android_code_version=30
version=0.4.27
android_code_version=31

View File

@@ -60,9 +60,11 @@ abstract class AbstractExposedWriteCRUDRepo<ObjectType, IdType, InputValueType>(
}
}.let {
if (it > 0) {
select {
selectById(this, id)
}.limit(1).firstOrNull() ?.asObject
transaction(db = database) {
select {
selectById(this, id)
}.limit(1).firstOrNull() ?.asObject
}
} else {
null
}