DatabaseActions extension

Reusable database operations shared across repositories.

on

Methods

getOrCreateSemester(int year, int term) Future<int>

Available on AppDatabase, provided by the DatabaseActions extension

Returns the ID of an existing semester row, or creates one if missing.