Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

feat: bulk insert in seeder #7746

Merged
merged 3 commits into from
Mar 21, 2023

Conversation

aditya-mitra
Copy link
Collaborator

Summary

Using multiple insert, featherjs do will a bulk insert of all the values into MySQL. This will be faster than sequential insertion of templates in loop.

References

Refs #7726

Checklist

  • If this PR is still a WIP, convert to a draft
  • When this PR is ready, mark it as "Ready for review"
  • ensure all checks pass
  • Changes have been manually QA'd
  • Changes reviewed by at least 2 approved reviewer

QA Steps

List any additional steps required to QA the changes of this PR, as well as any supplemental images or videos.

packages/server-core/src/seeder.ts Outdated Show resolved Hide resolved
@HexaField
Copy link
Member

@cla-bot check

@cla-bot
Copy link

cla-bot bot commented Mar 21, 2023

Checking that all contributors to this PR are verified.

@HexaField HexaField added this pull request to the merge queue Mar 21, 2023
@HexaField HexaField removed this pull request from the merge queue due to a manual request Mar 21, 2023
@HexaField HexaField added this pull request to the merge queue Mar 21, 2023
@HexaField HexaField removed this pull request from the merge queue due to a manual request Mar 21, 2023
@HexaField HexaField merged commit 3185442 into EtherealEngine:dev Mar 21, 2023
@aditya-mitra aditya-mitra deleted the feat/seeder-speedup branch March 22, 2023 13:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants