What does @SingleValueResult do?
问题 What does @SingleValueResult do? Does it impose the constraint 'single value result'? Full name: org.skife.jdbi.v2.sqlobject.customizers.SingleValueResult Here are some links about it: https://groups.google.com/forum/#!topic/jdbi/tQge_FNUoiw https://news.ycombinator.com/item?id=8134591 回答1: No, it doesn't. Instead it just provides some more type information for Optional or Maybe return types. When JDBI recognizes that only a single row will be needed from the database, it will tell the