Merge pull request #48 from InsanusMokrassar/0.4.27

0.4.27
This commit is contained in:
InsanusMokrassar authored and GitHub committed 2021-02-23 13:09:04 +06:00
commit 14c5f5a26c
3 files changed
+9 -5

No files matched your search

+2
View File
@@ -1,5 +1,7 @@
# Changelog
## 0.4.27
## 0.4.26
* `Versions`:
+2 -2
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
@@ -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
}