Returning null after data inserted into table
Hello,
I have a table that I am inserting data into with await tableName.insert(data) and this works fine. However, when I then try to execute a select query with const {data, error} = tableName.select() I get null. When I restart my server (express, node JS, running on localhost) I can access the data until I insert something else again and get null. Can someone help me with this? Thank you.
I have a table that I am inserting data into with await tableName.insert(data) and this works fine. However, when I then try to execute a select query with const {data, error} = tableName.select() I get null. When I restart my server (express, node JS, running on localhost) I can access the data until I insert something else again and get null. Can someone help me with this? Thank you.