Skip to content

Commit 847575c

Browse files
author
Chris Connelly
committed
chore: add an sqlx connection pool to Context
This uses the `database_url` from `Config` to initialise an `sqlx::PgPool`, which is stored in the GraphQL `Context`. Next up, we can start to use the DB instead of the `HashMap`.
1 parent 87bbfc2 commit 847575c

File tree

4 files changed

+627
-10
lines changed

4 files changed

+627
-10
lines changed

0 commit comments

Comments
 (0)