Skip to content

minor sqlite-libsql refactor#3443

Merged
dicej merged 1 commit intospinframework:mainfrom
dicej:minor-sqlite-libsql-refactor
Apr 2, 2026
Merged

minor sqlite-libsql refactor#3443
dicej merged 1 commit intospinframework:mainfrom
dicej:minor-sqlite-libsql-refactor

Conversation

@dicej
Copy link
Copy Markdown
Contributor

@dicej dicej commented Apr 2, 2026

  • libsql::Connection implements Clone and is backed by an Arc, so wrapping it in another Arc is redundant.

  • Moving the query_async implementation from LazyLibSqlConnection to LibSqlConnection makes it easier to reuse externally.

- `libsql::Connection` implements `Clone` and is backed by an `Arc`, so wrapping
  it in another `Arc` is redundant.

- Moving the `query_async` implementation from `LazyLibSqlConnection` to
  `LibSqlConnection` makes it easier to reuse externally.
@dicej dicej requested a review from itowlson April 2, 2026 19:07
@dicej dicej merged commit d786f42 into spinframework:main Apr 2, 2026
17 checks passed
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