beam-community / ex_machina

Create test data for Elixir applications
https://hex.pm/packages/ex_machina
MIT License
1.93k stars 146 forks source link

Option to have `insert_list` leverage Ecto's `insert_all` #430

Closed halfdan closed 3 months ago

halfdan commented 1 year ago

Related to https://github.com/thoughtbot/ex_machina/issues/286

I have a number of test cases that will insert up to 50 records. These tests could be made faster if insert_list could support bulk inserting data. Is there a reason for the current insert_list behaviour not using Ecto's insert_all?

github-actions[bot] commented 4 months ago

This issue has been automatically marked as "stale:discard". We are sorry that we haven't been able to prioritize it yet. If this issue still relevant, please leave any comment if you have any new additional information that helps to solve this issue. We encourage you to create a pull request, if you can. We are happy to help you with that.

github-actions[bot] commented 3 months ago

Closing this issue after a prolonged period of inactivity. If this issue is still relevant, feel free to re-open the issue. Thank you!