dave08
07/14/2019, 3:23 PMit.getInt(0) ?: 0
, but maybe there could be some other name for such an implementation?oshai
07/14/2019, 7:13 PMgetInt
will return null if the db value is null. In case the column name not exists it will throw an exception with column name (you can test it, maybe it can be more clear). for the index method it will throw ArrayIndexOutOfBounddave08
07/14/2019, 8:04 PMoshai
07/15/2019, 6:11 AM