spand
03/14/2019, 9:51 AMInsertStatement.get
return T?
? The only use in the project that ought to use this functionality at all is fun <Key:Comparable<Key>, T: IdTable<Key>> T.insertIgnoreAndGetId
.
It seems to me that it ought to be changed to T
and instead define a InsertStatement.tryGet
for the much rarer use so can avoid having !! just to retrieve a generated key.tapac
03/19/2019, 6:57 AMnull
on insert and that's not the 'null == value was absent from insert'spand
03/19/2019, 9:08 AMT
isnt contrained to Any
it would just be ie. Int?
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.