Open
Description
Thank you for this module, which is working well for me! Looking at the source, I noticed that the user search is generally my ($user) = ...->all()
:
DBIx::Class::ResultSet::single() claims to avoid creating a cursor if there's only one result. Since we only keep one result anyway, would it be worth using single() for speed? If not, would you please let me know the details for my own understanding?
Alternatively, would my $user = ...->first
improve code clarity?
Thanks for considering this request!
Metadata
Metadata
Assignees
Labels
No labels