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?
Recommended threads
- OAuth provider credentials reverting [CR...
Hi team, I’m experiencing repeated OAuth configuration resets in my Appwrite project. ## Issue 1 – Google OAuth credentials reverting * I configure my own Goog...
- cli broke with new varchar type??
``` appwrite types ./appwritetypes ℹ Info: Detected language: ts ℹ Info: Directory: ./...
- Hey everyone! I'm trying to self-host th...
Hey everyone! I'm trying to self-host the latest Appwrite version (1.8.1) on Coolify. Which docker-compose.yml file should I use from their repo? Can someone he...