mirror of
				https://github.com/InsanusMokrassar/MicroUtils.git
				synced 2025-10-30 19:50:31 +00:00 
			
		
		
		
	fix in AbstractExposedWriteCRUDRepo
This commit is contained in:
		| @@ -60,9 +60,11 @@ abstract class AbstractExposedWriteCRUDRepo<ObjectType, IdType, InputValueType>( | |||||||
|             } |             } | ||||||
|         }.let { |         }.let { | ||||||
|             if (it > 0) { |             if (it > 0) { | ||||||
|                 select { |                 transaction(db = database) { | ||||||
|                     selectById(this, id) |                     select { | ||||||
|                 }.limit(1).firstOrNull() ?.asObject |                         selectById(this, id) | ||||||
|  |                     }.limit(1).firstOrNull() ?.asObject | ||||||
|  |                 } | ||||||
|             } else { |             } else { | ||||||
|                 null |                 null | ||||||
|             } |             } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user