Skip to content
This repository was archived by the owner on Jun 10, 2021. It is now read-only.

Releases: SimonRichardson/purescript-node-mongodb

0.11 updates

11 May 15:37
Compare
Choose a tag to compare

Updates to the latest purescript changes.

This was done by @epicallan, so many thanks!

Purescript 0.10.x

10 Jan 14:47
Compare
Choose a tag to compare

The following release is thanks to @zhangchiqing

It contains the following:

  • Update to the latest purescript 0.10.x
  • Removed examples in favour of tests
  • Cleaned up some bugs on the way

Latest Purescript

17 Dec 21:37
Compare
Choose a tag to compare

Update to the latest Purescript thanks to @chrisdotcode

Cancelling

11 May 07:52
Compare
Choose a tag to compare

Improved cancellation code by removal of ffi code, which should make it much safer (less ffi code the better!)

Connect with URI

09 May 21:17
Compare
Choose a tag to compare
  • Remove the need to use a connection info, use a string instead.

Insert and Update

06 May 08:36
Compare
Choose a tag to compare
  • Implementation of inserting documents
  • Implementation of updating documents
  • Implementation mongo ($) dollar methods
  • Auto decode models from find, collect and collectOne automatically
  • Update the readme
  • Update the documentation

Examples

01 May 21:23
Compare
Choose a tag to compare

This release includes a very simple find example.

  • Bug fix with the canceler not firing
  • Implemented close #1
  • Adding the example #4

Very simple example below:

  Right database <- attempt $ connect $ defaultOptions { db = Just "events" }
  col <- collection "events" database
  cur <- find ["name" := (regex "Amazing" noFlags)] [] col
  res <- collect cur
  evt <- decodeEvents res
  close database

PR #8

Alpha Release

01 May 17:07
Compare
Choose a tag to compare

Implemented the following:

  • Connect to a mongo database
  • Get the collection by name
  • Find some documents via some BSON
  • Find one document via some BSON
  • Collect the possible output

This is the alpha release, there is a lot of things missing, but you're
more than welcome to fork it and submit PR.