Questions tagged [bulk-delete]
41 questions
0
votes
1 answer
Is there any notification event I can trace for completion of an execution of AWS S3 lifecycle rule?
I wanted to delete large number of S3 files (may be few 100K or 1000K, which I do not have control) in a bulk async process. I tried to look into multiple blogs and collated below strategies:
Leverage AWS S3 REST API from the async thread of custom…

ayanb
- 1
0
votes
3 answers
How to delete 200,000 records with DJango?
Situation:
I have Model have a relation 1-1, sample:
class User(models.Model):
user_namme = models.CharField(max_length=40)
type = models.CharField(max_length=255)
created_at = models.DatetimeField()
...
class Book(models.Model):
…

Thành Lý
- 86
- 3
0
votes
1 answer
Listing and Deleting Data from DynamoDB in parallel
I am using Lambdas and SQS queue to delete the data from DynamoDB. Earlier when I was developing this I found that the only way to delete data from DyanmoDB is to gather the data you want to delete and deleting them in Batches.
At my current…

abhinav
- 607
- 6
- 18
0
votes
0 answers
Discord bot, deleting messages
I'm new to discord bots.
I have a script that gives members a role if the join a VC, that way they can see a Text channel.
I want the channel to be cleared out.
This is what I have so far:
module.exports = (client) => {
// Clears chat?
…

Sander
- 11
- 1
0
votes
2 answers
Sequelize queryInterface bulkDelete does not reset id sequence
I use pg_dump to make a copy of the database, copy1.sql.
I run an up migration to create a new instance
up: asyn (queryInterface) => {
return await queryInterface.bulkInsert('keys', [{ clientKey: 'key123' }]);
}
I run a down migration to delete…

C. Yee
- 127
- 2
- 15
0
votes
1 answer
Bulk Deleting discord.js not working because of wrong channel
import DiscordJS, { TextChannel, Intents, Message, Channel } from 'discord.js'
import dotenv from 'dotenv'
dotenv.config()
//sets prefix to be used when running bot commands
const prefix = '~';
//This lets the discord bot know what your intentions…

TheoChow
- 47
- 5
0
votes
0 answers
Poor performance on bulk deleting a large collection mongodb
I have a single standalone mongo installation on a Linux machine.
The database contains a collection with 181 million documents. This collection is by far the largest collection in the database (approx 90%)
The size of the collection is currently…

SJFJ
- 657
- 6
- 18
0
votes
1 answer
is there a bulkDelete equivalent of JDA?
In discord.js, there is a way to delete multiple messages in a channel (eventually making a clear command)
But I can't find the equivalent to Java Discord API. What I've tried is message.getChannel().getLatestMessageId() in a for statement, but it…
0
votes
2 answers
Did discord change the "bulkDelete" variable in java script?
module.exports = {
name: 'clear',
description: 'clear certain amount of messages',
async execute(message, args){
if(!args[0]) return message.reply("please enter the amount of messages");
if(isNaN(args[0])) return…

Dale
- 3
- 1
0
votes
1 answer
How to use CosmosDB.BulkExecutor.Graph.GraphBulkExecutor.BulkDeleteAsync?
I am trying to use BulkDelete function (for Cosmos DB graph database) that takes a string query and deletes all results, in my .NET C# application. Documentation:…

Apoorva Agrawal
- 1
- 1
0
votes
1 answer
Why is not bulkDelete working in discord.js?
I tried to make a bulk delete command to my discord bot, but it doesn't work.
const args = message.content.slice(prefix.length).trim().split(/ +/g);
if(args[1] == 'bulkdelete') {
const deleteCount = parseInt(args[2], 10);
…

Elias Wennerlund
- 13
- 4
0
votes
0 answers
bulkDelete does not exist on channel
A little note to start with, this is a typescript file. I am having trouble with a purge/clear command. This command worked on discord v11 however is having an issue on v12. the issue I am seeing is bulkDelete does not exist on type 'TextChannel |…

mudeki
- 33
- 5
0
votes
0 answers
What is the difference between bulk delete and destroy in sequelize?
I am trying to delete all my records from a table using sequelize but saw that there are two possible functions to use: queryInterface.bulkDelete and queryInterface.destroy . Can someone tell me what are the differences between these two and which…

tnkh
- 1,749
- 2
- 14
- 30
0
votes
2 answers
Discord.js delete X messages
How would I delete some messages from a channel with discord.js ? I get the number as an argument for the delete command, but I just can't figure out how to actually delete it. I've looked at other questions, the code I saw started with…

ProgRAMmer
- 31
- 6
0
votes
1 answer
Woocommerce - Need to delete products with no association to a categories with SQL or plugin
Background:
I inherited a website with a tremendously bloated product database. There are around 260 actual products which are translated using WPML into English and French which should make it for a total of 520 posts (for each product there is…

FoxMan
- 71
- 1
- 5