Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
sqlite-simple snaplet for the Snap Framework
Failed to load latest commit information.
example Relax library constraints for the example project
resources Add config option for enabling sql tracing
src/Snap/Snaplet Simplify user save error logic by removing it
test Switch to SafeSemaphore (QSem is deprecated in GHC 7.8)
.gitignore Hlint clean up
.travis.yml
LICENSE Adapt to sqlite-simple
README.md add code coverage badge
Setup.hs Create initial version based on snaplet-postgresql-simple
snaplet-sqlite-simple.cabal Bump library versions

README.md

Snaplet for sqlite-simple

A Snap plugin (or snaplet) that makes it easy to use the SQLite database with the Snap web framework. This plugin uses sqlite-simple for actually talking to the SQLite database.

Please see the example project for an introduction on how to use this within Snap. It implements a stand-alone application with a login screen that persists user information in a SQLite database and allows a logged in user to save comments. Querying and listing comments demonstrates how a user of snaplet-sqlite-simple might relate Snaplet.Auth based AuthUsers to the application's database tables.

For sqlite-simple usage examples, visit the sqlite-simple homepage.

This snaplet is based on the snaplet-postgresql-simple.

Build Status (master)

Coverage Status

Something went wrong with that request. Please try again.