getStudyHistory static method

Future<List<StudySubject>> getStudyHistory(
  1. String userId
)

Implementation

static Future<List<StudySubject>> getStudyHistory(String userId) async {
  return SupabaseQuery.extractSupabaseList<StudySubject>(
    await env.client
        .from(tableName)
        .select('*,study!study_subject_studyId_fkey(*),subject_progress(*)')
        .eq('user_id', userId),
  );
}