I am using expo router react native and I am implementing supabase as a database option in my app. I have a console.log of the data from the select function but everytime I run it I get []
logged and nothing else. My select function can't read the data in my tables on supabase (my tables do have rows of data in it) How do I fix this issue? Here is the code
const checkTransferForums = async () => {
const {
data: { user: User },
} = await supabase.auth.getUser();
const { data, error } = await supabase.from('user_forums').select('user_id');
if (error) {
console.log('
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745206219a4616605.html
评论列表(0条)