KotlinTrader / com.doubleu.kotlintrader.database / Database / findFirstBy

findFirstBy

inline fun <reified T : Entity<*>, V> findFirstBy(property: KProperty1<T, V?>, value: V?): T?

Returns the first database entry that matches the given property or null