Insert into table for external database as AWS

after success connected with external database with AWS , when i am going into open connection of my database in CMS → the collection settings was disabled so i couldn’t apply any velo code for example insert, delete because i don’t know what is mycollection name

wixData
.insert(“myCollection”, toInsert)
.then((item) => {
console.log(item); //see item below
})
.catch((err) => {
console.log(err);
});

The insert permissions will be handled on the AWS side. Hence why they are disabled on the wix site once your db is connected.

Your collection id you will see in your site now - it should look something like “MyExtDbName/myDbTable”

To find it, on the left hand nav click the database icon then “External Collections”