forked from yesodweb/yesod-cookbook
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update the SQLite foreign key example
The previous example didn't demonstrate how to enable proper pooling -- only one underlying connection was ever actually opened, despite the pool size specified. This corrects it to open a new connection every time a new SqlBackend is requested from the pool.
- Loading branch information
1 parent
7ab4ee9
commit b8082fc
Showing
1 changed file
with
14 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters