Skip to content

feat(orm): initialize SQLite pool connections - #2610

Merged
an-tao merged 1 commit into
drogonframework:masterfrom
kyoungbinkim:codex/2458-sqlite-init-queries
Oct 3, 2026
Merged

an-tao merged 1 commit into
drogonframework:masterfrom
kyoungbinkim:codex/2458-sqlite-init-queries

Conversation

@kyoungbinkim

Copy link
Copy Markdown
Contributor

Summary

  • add SQLite connection initialization queries to the programmatic API and JSON/YAML configuration
  • execute the queries in order before each pooled connection becomes available
  • reject connections whose initialization fails

Testing

  • clean Windows/vcpkg build of db_test and db_api_test
  • SQLite3InitializationQueriesTest: 11 assertions passed
  • DbApiTest: 6 assertions passed

Closes #2458

@an-tao
an-tao merged commit 2be5f2b into drogonframework:master Oct 3, 2026
34 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.

Add ability to execute SQL queries on all connections in the connection pool

2 participants