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
- Local appwrite run functions --user-id n...
Hi, I'm running into an issue when testing Appwrite functions locally with user impersonation. I'm using a self-hosted Appwrite instance and running functions ...
- Selfhosted Github App installation
I've followed this guide: https://appwrite.io/docs/advanced/self-hosting/configuration/version-control to connect GitHub to my self-hosted Appwrite instance (1....
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...