spand03/14/2019, 9:51 AM
? The only use in the project that ought to use this functionality at all is
. It seems to me that it ought to be changed to
fun <Key:Comparable<Key>, T: IdTable<Key>> T.insertIgnoreAndGetId
and instead define a
for the much rarer use so can avoid having !! just to retrieve a generated key.
tapac03/19/2019, 6:57 AM
on insert and that's not the 'null == value was absent from insert'
spand03/19/2019, 9:08 AM
isnt contrained to
it would just be ie.
which would work. Or I am not understanding you correctly. I have submitted a pull request with the change and a test that shows retrieval of null values.