<@U1M6Y2Y95> I do not know any special method for ...
# getting-started
p
@bodiam I do not know any special method for retrieving one object but I think it’s quite OK to not have any in Exposed. I think it’s quite OK that Exposed does not know that your
.select( /* condition */)
should return only oneor zero rows, so it’s good to act as if there could be many of them. So I suggest to use
.first()
if you are sure that there will be at least one result (so exception will be thrown for empty result set) or
.firstOrNull()
if there can be no results.