Commit graph

40 commits

Author SHA1 Message Date
Tony Hannan
b52854a457 moved docs to new docs folder. updated tutorial for version 1.0.0 2011-07-08 22:17:44 -04:00
Tony Hannan
a32f0c3234 Make Database.MongoDB.Connection compatible on Windows by not using PortID's UnixSocket constructor unless compiling on Unix 2011-02-22 10:31:54 -05:00
Tony Hannan
73012bb430 Single param Network instance. NetworkIO instance of IO that yields Internet so user does not have to supply it 2010-12-27 00:23:02 -05:00
Tony Hannan
de32b22b4f Connection pooling and some refactoring 2010-10-27 16:13:23 -04:00
Tony Hannan
3a7f235246 Slight API refactoring. Fix spinning pipeline when other end disconnects. Handle response flags correctly 2010-07-27 17:18:53 -04:00
Tony Hannan
c9dc87ad33 Slight redesign: pipelining with writeMode instead of exclusive access with getLastError 2010-06-21 11:06:20 -04:00
Tony Hannan
586783b081 added TODO: kill cursors on shutdown 2010-06-15 21:54:29 -04:00
Tony Hannan
d0ddc814a9 Change comments to reflect new knowledge that a cursor persists across connections, and map/reduce temp output is accessible from all connections as long as original remains alive 2010-06-15 16:15:37 -04:00
Tony Hannan
3e4065cd97 See V0.5.0-Redesign.md for description of changes in this commit 2010-06-14 23:14:40 -04:00
Scott R. Parish
56fcb3a90e insert/insertMany/save: create (if needed) and return '_id' field 2010-03-13 21:46:46 -06:00
Scott R. Parish
e7c58bf4d7 BSON: use Integers to represent oid's, oid generation 2010-03-13 00:23:05 -06:00
Scott R. Parish
697c370dea lift more tutorial sections from pymongo 2010-03-10 16:39:58 -06:00
Scott R. Parish
fb2f09171a change BsonDoc representation to maintain order
Turns out that order is sometimes important for BSON documents. Case
in point, "mapreduce" has to be the first field for the map/reduce
command.

To accomidate this we'll switch from using 'Map' to using a tuple-list
(eg '[(L8.ByteString, BsonValue)]'). Luckily most code that was using
toBsonDoc doesn't need to change.

While at it, 'Convertible' is not adding much value, and was causing
ambiguities making it less usefull (was requiring explicit type hints
more then it should have). Thus we are switching to our own conversion
typeclasses.
2010-03-08 07:08:30 -06:00
Brian Gianforcaro
e65bbddc3d Add mini-tutorial 2010-02-28 07:19:02 -05:00
Scott R. Parish
08b601f124 adding ConnectOpts and an initial SlaveOk option 2010-02-26 19:39:28 -06:00
Scott R. Parish
f1fdc0f13b automatically find and connect to master 2010-02-24 07:10:32 -06:00
Scott R. Parish
b3581b5209 logout 2010-02-06 16:10:52 -06:00
Scott R. Parish
53fe82d117 create auth alias to be consistent with mongo JS api 2010-02-06 15:57:15 -06:00
Scott R. Parish
6bf32ab9eb serverInfo 2010-01-21 21:09:20 -06:00
Scott R. Parish
e8f6141529 renameCollection 2010-01-21 19:12:06 -06:00
Scott R. Parish
539c98bbaa TODO 2010-01-21 18:55:27 -06:00
Scott R. Parish
62dfc44393 indexInformation 2010-01-21 18:55:23 -06:00
Scott R. Parish
b413958ef7 dropIndexes 2010-01-20 06:20:30 -06:00
Scott R. Parish
46839acdbc createIndex 2010-01-19 22:31:38 -06:00
Scott R. Parish
e58dc782ad TODO 2010-01-18 22:25:40 -06:00
Scott R. Parish
dc99780c03 count, countMatching 2010-01-18 22:19:38 -06:00
Scott R. Parish
d7f6cfc348 validateCollection 2010-01-18 21:39:38 -06:00
Scott R. Parish
6569157051 dropDatabase 2010-01-18 21:31:21 -06:00
Scott R. Parish
9b32259dc8 TODO 2010-01-18 21:26:44 -06:00
Scott R. Parish
311e0462ac dropCollection 2010-01-18 21:26:34 -06:00
Scott R. Parish
378bc42393 collectionNames 2010-01-18 15:04:38 -06:00
Scott R. Parish
6a3dd6f7c4 TODO 2010-01-18 15:04:02 -06:00
Scott R. Parish
1821870849 TODO 2010-01-18 11:54:35 -06:00
Scott R. Parish
e2bcabae12 TODO 2010-01-18 10:26:09 -06:00
Scott R. Parish
0c019ad0e9 allDocs: create a lazy list off a cursor 2010-01-16 19:14:47 -06:00
Scott R. Parish
f9b4076a5c TODO 2010-01-13 07:14:44 -06:00
Scott R. Parish
ec5760f0ec TODO 2010-01-12 20:09:17 -06:00
Scott R. Parish
b18d3d54b0 BSON: fix unexported data constructor 2010-01-10 21:23:54 -06:00
Scott R. Parish
2cea5777fb BSON: use Data.Map for BSONObjects 2010-01-10 21:23:54 -06:00
Scott R. Parish
1de2672aad TODO 2010-01-06 22:36:47 -06:00