Rank 1: Thread
Hi, if I try to perform a bulk delete on a table with relations, I get this:
`289 | if (((_b = response.headers.get("content-type")) == null ? void 0 : _b.includes("application/json")) || responseType === "arrayBuffer") {
290 | responseText = JSON.stringify(data);
291 | } else {
292 | responseText = data == null ? void 0 : data.message;
293 | }
294 | throw new AppwriteException(data == null ? void 0 : data.message, response.status, data == null ? void 0 : data.type, responseText);
^
AppwriteException: Bulk delete is not supported for tablesDB with relationship attributes
code: 400,
type: "general_bad_request",
response: "{"message":"Bulk delete is not supported for tablesDB with relationship attributes","code":400,"type":"general_bad_request","version":"1.8.0"}",
at call (/Users/simone/dev/polybank/node_modules/.bun/node-appwrite@20.2.1/node_modules/node-appwrite/dist/client.mjs:294:13)`
This is the code I am tryng to run
`const response = await tables.deleteRows({
databaseId: process.env.APPWRITE_DATABASE_ID!,
tableId: 'categories',
queries: [Query.equal('is_default', false)],
});
console.log(response);
`
Am i doing something wrong or is it the way it is supposed to work?