Why does this return an empty Array?

I am trying to get all the data from the Scores table of my database. For some reason I get an empty array when logging data even though I already inserted a row into my table. Am I missing something?

Code:
    import { supabase } from '$lib/supabaseClient';

    async function getScoreList() {
        let { data, error } = await supabase
        .from('Scores')
        .select('*')

        console.log(data)
    }

    getScoreList()
Was this page helpful?