Home

Awesome

PureScript-Bingsu

Cool query building library for Node-SQLite3.

Usage

See the tests.

someAff = void $ B.queryDB db insert { name: "apples", count: 3 }
  where
    insert
         = B.literal "insert into mytable values ("
      <<>> B.param (B.Param :: _ "name" String)
      <<>> B.literal ","
      <<>> B.param (B.Param :: _ "count" Int)
      <<>> B.literal ")"