Is there a way to create a button such that when it is pressed an _id is searched for in a collection, and then that entire row is deleted, including the _id.
I am assuming that a query is created such as…
wixData.query(“DataCollection”)
.eq(“_Id”, +($w(“#text1”).text)) ← assuming it is a text box used.
.find()
.then((results) => {
…etc.
…but not sure what code to put in the query.
Thanks