Skip to content
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

Support bulk insert in one query using newly added createAll() in connector #523

Closed
samarpanB opened this issue Nov 16, 2022 · 0 comments · Fixed by #524
Closed

Support bulk insert in one query using newly added createAll() in connector #523

samarpanB opened this issue Nov 16, 2022 · 0 comments · Fixed by #524
Labels

Comments

@samarpanB
Copy link
Contributor

samarpanB commented Nov 16, 2022

Suggestion

With the addition of efficient bulk insert in one DB query feature in loopback-connector after release of this PR, its important that we implement this method in postgres connector too as postgresql already supports insert into ... values ().. n dialect for multiple inserts in 1 single query.

Also relates to loopbackio/loopback-next#3357

Use Cases

Db query optimization. Faster insert. Less DB connection utilizations.

Examples

No changes needed in consuming apps if they are using existing createAll method of repository

Acceptance criteria

TBD - will be filled by the team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant