Skip to content

Revisit MySQL bulk_insert implementation #425

@m4tx

Description

@m4tx

In #414 we've added a support for bulk inserting multiple records into DB at once.

The MySQL implementation is pretty fragile, as it depends on the fact that the newly added records usually have consecutive IDs, but this doesn't necessarily have to be the case. It would be good to have a look whether it can be improved somehow.

(It might be worth considering dropping support for MySQL and focusing on MariaDB instead; given it supports RETURNING clause, it might fix more than one issue.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions