getUserStoreDto method
Implementation
Future<UserStoreDto?> getUserStoreDto(
SchemaMetaData smd, DbTransaction transaction, int id) async {
UserStoreDao userStoreDao = UserStoreDao(smd, transaction);
await userStoreDao.init(initTable: true);
UserStoreDto? userStoreDto;
try {
userStoreDto = await userStoreDao.getUserStoreDtoById(id);
} on SqlException catch (e) {
if (e.sqlExceptionEnum == SqlExceptionEnum.FAILED_SELECT)
print("WS $e");
else
rethrow;
}
return userStoreDto;
}