-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bulk insert/update we need it #13
Comments
This feature is most important, please try to implement it |
I will try to make it this week 🙂 |
I've just added bulk insert in the latest release |
@G4brym Awesome ✨ |
Please try to implement bulk update, read and delete features. That will complete your bulk module. |
You can already do bulk update like this, to update unlimited rows const updated = await qb.update({
tableName: 'employees',
data: {
role: 'CEO',
department: 'HQ',
},
where: {
conditions: 'department = ?1',
params: ['HQ'],
},
}) and do bulk deletes like this, to delete unlimited rows const updated = await qb.delete({
tableName: 'employees',
where: {
conditions: 'department = ?1',
params: ['HQ'],
},
}) |
@G4brym db.batch may fix it. |
Hey @rupamking1 we added support for db.batch in the latest release thanks to @ejyager00 |
Bulk insert/update we need it please update the package
The text was updated successfully, but these errors were encountered: