We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@database( version: 1, entities: [StaffInfoModel, MeetingInfoModel, MeetingFileInfoModel]) abstract class SqliteDatabase extends FloorDatabase { StaffInfoDao get staffInfoDao; MeetingInfoDao get meetingInfoDao; MeetingFileInfoDao get meetingFileInfoDao; }
final database = await $FloorSqliteDatabase .databaseBuilder('app_database.db') .build();
final meetingInfoDao = database.meetingInfoDao; ///先删除 await meetingInfoDao.deleteMeetingInfoByConferId( applicationController.uuid, conferController.conferId!); final MeetingInfoModel meetingInfo = MeetingInfoModel( conferId: conferController.conferId!, uuid: '', name: homeDetailEntity.meeting!.title!, startTime: homeDetailEntity.meeting!.startTime!, endTime: '', room: homeDetailEntity.meeting!.room!); meetingInfoDao.insertMeetingInfo(meetingInfo);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
@database(
version: 1,
entities: [StaffInfoModel, MeetingInfoModel, MeetingFileInfoModel])
abstract class SqliteDatabase extends FloorDatabase {
StaffInfoDao get staffInfoDao;
MeetingInfoDao get meetingInfoDao;
MeetingFileInfoDao get meetingFileInfoDao;
}
final database = await $FloorSqliteDatabase .databaseBuilder('app_database.db')
.build();
The text was updated successfully, but these errors were encountered: