Commit graph

546 commits

Author SHA1 Message Date
Greg Weber
91701962c3 fix ActionWith usage 2015-03-05 12:00:01 -08:00
Greg Weber
98bcc2dfe8 abstract connection interface
rebase #13 to master
2015-03-05 11:21:58 -08:00
Greg Weber
a77370f2d9 Merge pull request #8 from fujimura/add-tests
Add tests for insert operations
2015-03-05 11:13:33 -08:00
Greg Weber
98a479dacb Merge pull request #11 from Cipherwraith/patch-1
Update tutorial.md
2015-01-10 08:13:58 -08:00
Ron
2186eeeafe Update tutorial.md
Data.CompactString is no longer needed in ghci.

`runIOE` has been deprecated. Everything now works without runIOE.
2015-01-10 18:33:00 +08:00
Fujimura Daisuke
7354bf0ada Minor code format fix 2014-08-19 21:30:07 +08:00
Fujimura Daisuke
3dd594999a Rename fakeDB to db 2014-08-19 21:29:18 +08:00
Fujimura Daisuke
c6d6f8c71a Minor refactor
Use `shouldReturn`
2014-08-19 12:59:48 +08:00
Fujimura Daisuke
70e8cbc9c2 Add tests for insert operations 2014-08-19 12:59:48 +08:00
Fujimura Daisuke
b88ef1cc92 Measure code coverage with coveralls.io 2014-08-19 12:48:39 +08:00
Fujimura Daisuke
38b65f35dc Update travis.yml to use mongodb 2014-08-19 12:48:39 +08:00
Fujimura Daisuke
f6d886e8bd Reorganize specs 2014-08-19 12:48:36 +08:00
Greg Weber
4696355085 add test suite 2014-08-07 09:10:06 -07:00
Greg Weber
a047c309e5 better findAndModify error handling 2014-07-24 08:12:44 -07:00
Greg Weber
f2a6307530 repsert -> upsert 2014-07-24 08:12:15 -07:00
Greg Weber
d2d4f9534c export defFamUpdateOpts 2014-07-19 19:32:33 -07:00
Greg Weber
c835d87a66 Cabal-version: >= 1.6 2014-07-19 19:13:28 -07:00
Greg Weber
357b308807 Merge pull request #5 from mongodb-haskell/find-and-modify-opts
Find and modify opts
2014-07-19 17:54:53 -07:00
Greg Weber
c969c2cc46 version bump for findAndModifyOpts 2014-07-08 12:44:56 -07:00
Greg Weber
9259d392d3 add findAndModifyOpts
supports the full range of optiosn for findAndModify
2014-07-08 12:44:41 -07:00
Greg Weber
06dab9de7c Merge pull request #4 from knsd/feature/docs
Make examples compilable
2014-07-06 22:14:49 -07:00
Fedor Gogolev
1e861c2496 Make examples compilable 2014-07-07 09:05:03 +04:00
Greg Weber
6b35ee511c Merge pull request #3 from knsd/feature/links
Update links to repository in README and .cabal
2014-07-06 22:01:58 -07:00
Fedor Gogolev
20454a2bb7 Update links to repository in README and .cabal 2014-07-07 08:51:06 +04:00
Greg Weber
20bd38d712 ignore cabal sandbox 2014-06-22 17:58:52 -07:00
Greg Weber
6e4c31c90e release mongoDB 2.0 2014-06-22 17:58:34 -07:00
Fedor Gogolev
5ca3b1c210 Fix merge conflict 2014-04-12 17:17:47 +04:00
Fedor Gogolev
adb57dce72 Merge branch 'pr-20'
Conflicts:
	Database/MongoDB/Query.hs
2014-04-12 17:06:52 +04:00
Sergei Lebedev
4cc68400bf Merge pull request #22 from spl/patch-1
Link 'find' and 'delete' in 'select' documentation
2014-03-09 19:34:24 +03:00
Sean Leather
61c333eee1 Link 'find' and 'delete' in 'select' documentation 2014-03-09 17:21:30 +02:00
Sergei Lebedev
e8f6341756 Merge pull request #21 from fujimura/update-example-hs
Update example and readme
2014-03-02 13:15:17 +03:00
Fujimura Daisuke
ea04393c3f Update repo owner name in README.md 2014-03-02 15:50:48 +09:00
Fujimura Daisuke
bccb3bd159 Do explicit import in Example.hs
This will be helpful for the people who is new to this library.
2014-03-02 15:50:04 +09:00
Fujimura Daisuke
16e4fdce26 Add type annotations to Example.hs 2014-03-02 14:54:56 +09:00
Michael Snoyman
a43c94f977 Remove MonadIO' 2013-12-27 13:39:22 +02:00
Michael Snoyman
3a97c2cbdb Turn Action into a type synonym, not a newtype 2013-12-26 17:32:21 +02:00
Michael Snoyman
ab5fcb1f78 HasMongoContext instead of liftDB 2013-12-26 17:28:44 +02:00
Michael Snoyman
bd3d90f740 Rename Context to MongoContext 2013-12-26 17:24:15 +02:00
Michael Snoyman
caab81a54e Get rid of usage of ErrorT 2013-12-26 17:23:02 +02:00
Michael Snoyman
756c9181cb Replace hard tabs with spaces 2013-12-26 16:57:33 +02:00
Michael Snoyman
b128bc7a09 Remove System.IO.Pool (use resource-pool instead) 2013-12-26 16:55:26 +02:00
Fedor Gogolev
6e4decfa95 Bump version 2013-12-21 17:27:18 +04:00
Fedor Gogolev
c88653ab60 Compile without warnings in 7.4 and 7.6 2013-12-21 17:27:02 +04:00
Fedor Gogolev
721360cb3f Bump version 2013-12-21 15:43:46 +04:00
Fedor Gogolev
6b59e2d832 Return DoRec pragma, so it's compilable in GHC 7.4
Fixes #19
2013-12-21 15:43:33 +04:00
Fedor Gogolev
e0f3ef430d Add travis ci configuration 2013-12-21 15:15:47 +04:00
Fedor Gogolev
df5afb99c8 Bump version 2013-12-20 10:44:09 +04:00
Fedor Gogolev
beee0c055b Merge pull request #17 from ezyang/master
Convert to use hashtables, as Data.HashTable went away.
2013-12-19 22:36:38 -08:00
Edward Z. Yang
4ce8a44011 Fix some warnings.
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
2013-11-06 23:15:50 -08:00
Edward Z. Yang
5656f90c27 Convert to use hashtables, as Data.HashTable went away.
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
2013-11-06 23:04:16 -08:00