inCourseTable property

  1. @override
GeneratedColumn<bool> inCourseTable
latefinal

Whether this offering appeared in the student's own course table.

Distinguishes offerings fetched by CourseRepository.refreshCourseTable from those created as side effects by other flows (e.g. a scored course number the course table never returned). Only the former belong in the course table grid and its credit/hour totals.

Not a Fetchable field.

Implementation

@override
late final GeneratedColumn<bool> inCourseTable = GeneratedColumn<bool>(
  'in_course_table',
  aliasedName,
  false,
  type: DriftSqlType.bool,
  requiredDuringInsert: false,
  defaultConstraints: GeneratedColumn.constraintIsAlways(
    'CHECK ("in_course_table" IN (0, 1))',
  ),
  defaultValue: Constant(false),
);