Hristijan
09/13/2023, 8:42 AMJohann Pardanaud
09/13/2023, 8:43 AMHristijan
09/13/2023, 8:46 AMMike Dawson
09/13/2023, 9:17 AMglureau
09/13/2023, 9:51 AMHristijan
09/13/2023, 11:22 AM@ColumnInfo(name = "contacts_count") var contactsCount: Int = -1
and in the generated one
_columnsGroups.put("contacts_count", new TableInfo.Column("contacts_count", "INTEGER", true, 0, null, TableInfo.CREATED_FROM_ENTITY));
where the default value is null which comes after true, 0
Mike Dawson
09/13/2023, 11:26 AMMike Dawson
09/13/2023, 11:27 AMHristijan
09/13/2023, 11:29 AMMike Dawson
09/13/2023, 11:39 AMHristijan
09/13/2023, 11:39 AMMike Dawson
09/13/2023, 11:44 AMfinal String _tmpAgentMbox_sha1sum;
if (_cursor.isNull(_cursorIndexOfAgentMboxSha1sum)) {
_tmpAgentMbox_sha1sum = null;
} else {
_tmpAgentMbox_sha1sum = _cursor.getString(_cursorIndexOfAgentMboxSha1sum);
}
_result.setAgentMbox_sha1sum(_tmpAgentMbox_sha1sum);