scs icon indicating copy to clipboard operation
scs copied to clipboard

Prevent gorm from logging a warning when record is not found.

Open manon-gfx opened this issue 3 years ago • 0 comments

When using the First function, gorm will log that it failed to find a record. Since this case is valid in scs it makes no sense to log it. By using different syntax the same functionality is achieved but without the logging.

manon-gfx avatar Apr 23 '22 22:04 manon-gfx