Pewarta Proxy

📋 Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

⚙️ Pengaturan Proxy Target

Skip to content

About

Basic Purescript wrapper for node-sqlite3

Topics

Resources

Stars

14 stars

Watchers

2 watching

Forks

Latest commit

 

History

46 Commits

Folders and files

Repository files navigation

purescript-node-sqlite3 Build Status

Really basic wrapper for node-sqlite3

Of course, this is nowhere near done, so please suggest improvements and additions!

Installation

bower i -S purescript-node-sqlite3 && npm i -S sqlite3

Usage

See the tests!

launchAff do
  conn <- newDB "./data"

  exists <- (\rows -> 1 == length rows) <$> queryDB conn "SELECT 1 from foods where name = ?" ["gulerodskage-med-flødest"]
  log $ "do we have this?: " <> (show exists)

  closeDB conn

Other libraries

In addition to this base library, you might also consider one of these libraries to give you some additional modeling and type safety capabilities:

https://github.com/Dretch/purescript-querydsl

https://github.com/justinwoo/purescript-jajanmen

About

Basic Purescript wrapper for node-sqlite3

Topics

Resources

Stars

14 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages