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

Refactoring #288

Draft
wants to merge 2 commits into
base: M5-revised
Choose a base branch
from
Draft

Refactoring #288

wants to merge 2 commits into from

Conversation

leoraba
Copy link
Contributor

@leoraba leoraba commented Jan 20, 2025

Related issues

Changes include:

  • Rename the function bulkUpsert to bulk. It receives an argument to perform create, delete, update or upsert records in bulk.

@leoraba leoraba marked this pull request as draft January 20, 2025 18:51
@leoraba leoraba changed the title bulk operation Refactoring Jan 20, 2025
Base automatically changed from indexing_repositories to M5-revised January 21, 2025 21:17
@leoraba leoraba mentioned this pull request Jan 21, 2025
3 tasks
Comment on lines +48 to +51
bulk(
index: string,
request: (CreateBulkRequest | UpdateBulkRequest | DeleteBulkRequest | UpsertBulkRequest)[],
): Promise<IndexResult>;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renaming bulkUpsert funtion to bulk. It receives requests to create, update, delete and upsert in bulk

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

Successfully merging this pull request may close these issues.

1 participant