Get an entry by its id as key.
Future<T?> loadEntryById(int id) async { var result = (await select(where: (m) => m.id.equals(id), limit: 1)); return result.isNotEmpty ? result.first : null; }