Future<AlbumData?> findByCode(String code) async { return await (db.select( db.album, )..where((e) => e.code.equals(code))).getSingleOrNull(); }