Edit or Delete Collections Form

Oh and set some database permissions,

… now for remove

import wixData from ‘wix-data’

//<<<< bla bla some code bla bla >>>>>>>

function button1_click() {

wixData.remove(“databaseName”, ItemID)
.then(() => {
//Yay its gone
})
.catch((e) => {
// ohh no an error
})

}

For reference on remove see below