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

core database: small nits and refactoring #2625

Merged
merged 4 commits into from
Nov 22, 2023
Merged

core database: small nits and refactoring #2625

merged 4 commits into from
Nov 22, 2023

Conversation

spolu
Copy link
Contributor

@spolu spolu commented Nov 22, 2023

  • Comment dead code
  • Move project to database instead of moved around in all function signatures
  • Fix some comments

@spolu spolu requested a review from fontanierh November 22, 2023 16:01

Ok(DatabaseRow::new(row_created, Some(row_id), content))
}
// async fn upsert_database_row(
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's just get rid of this if we don't use it. I don't know that we ever will since we have a batch variant of this which can also work for a single row.
If we ever miss it, we'll find it in git history.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sgtm

@fontanierh
Copy link
Contributor

Thanks for the improvements !

@spolu spolu merged commit aa36405 into main Nov 22, 2023
2 checks passed
@spolu spolu deleted the spolu-database_nits branch November 22, 2023 16:16
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.

2 participants