Brian Gianforcaro
39eec96357
Add and expose serverShutdown.
2010-01-26 04:02:47 -05:00
Brian Gianforcaro
e8be496011
A few comment spelling corrections
2010-01-26 02:40:00 -05:00
Scott R. Parish
e820d7ad07
verison 0.2
2010-01-24 21:20:45 -06:00
Scott R. Parish
d606e47f33
make changes suggested by HLint
2010-01-24 20:58:49 -06:00
Scott R. Parish
5ae3c4c2ae
databasesInfo, databaseNames
2010-01-22 06:23:39 -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
bb9bbf56d2
switch apis to all use Lazy.ByteString
2010-01-20 23:19:39 -06:00
Scott R. Parish
f8652ed11a
make BsonDoc a 'type' rather then 'newtype'
...
All the wraping/unwraping for the newtype was really cumbersome and
protection isn't really needed here.
2010-01-20 22:31:32 -06:00
Scott R. Parish
66ad002718
BsonValue convertible instances so fromBson can unwrap BsonObjects
2010-01-20 20:55:33 -06:00
Scott R. Parish
b413958ef7
dropIndexes
2010-01-20 06:20:30 -06:00
Scott R. Parish
7df946f697
dropIndex
2010-01-19 22:44:14 -06:00
Scott R. Parish
f1aa28b9e4
docs for createIndex
2010-01-19 22:35:21 -06:00
Scott R. Parish
46839acdbc
createIndex
2010-01-19 22:31:38 -06:00
Scott R. Parish
f173d9d0a7
convertible for BsonObject
2010-01-19 20:30:04 -06:00
Scott R. Parish
bff4817970
expose runCommand
2010-01-19 06:31:59 -06:00
Scott R. Parish
45b9be608e
rename Collection to FullCollection to be consistant with server docs
2010-01-19 06:28:17 -06:00
Scott R. Parish
345ab65811
add homepage to .cabal
2010-01-19 06:03:58 -06:00
Scott R. Parish
423842a0c6
.cabal fixes required for hackage submission
2010-01-19 00:02:53 -06:00
Scott R. Parish
e58dc782ad
TODO
2010-01-18 22:25:40 -06:00
Scott R. Parish
ba53b4b7e8
forgot docs for validateCollection and dropCollection
2010-01-18 22:20:01 -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
73d9a00d5f
createCollection
2010-01-18 21:26:00 -06:00
Scott R. Parish
3aaee6cf84
findOne: tell database to only return one
2010-01-18 19:36:10 -06:00
Scott R. Parish
2c6905b45f
BSON.empty
2010-01-18 18:32:44 -06:00
Scott R. Parish
30925bc90f
add BsonDocOps class so document can be specified with String keys
2010-01-18 18:05:09 -06:00
Scott R. Parish
121dcbfd93
findOne
2010-01-18 17:31:41 -06:00
Scott R. Parish
378bc42393
collectionNames
2010-01-18 15:04:38 -06:00
Scott R. Parish
cef52ebf12
BSON.lookup
2010-01-18 15:04:14 -06:00
Scott R. Parish
ee8cd25138
disconnect
2010-01-18 15:04:05 -06:00
Scott R. Parish
6a3dd6f7c4
TODO
2010-01-18 15:04:02 -06:00
Scott R. Parish
f5f0ec2b8e
add documentation for public functions/types
2010-01-18 13:24:14 -06:00
Scott R. Parish
9f57eca933
make field selector a list rather then a BsonDoc
...
Requiring callers to construct {foo: 1, bar: 1} style field selectors
is just dumb. Instead we'll let them pass in the field selector as a list
of strings and then construct the above form automatically for them.
2010-01-18 12:43:05 -06:00
Scott R. Parish
35ef4acc41
more complete .cabal files
2010-01-18 11:55:08 -06:00
Scott R. Parish
1821870849
TODO
2010-01-18 11:54:35 -06:00
Scott R. Parish
949bece818
class for toBson/fromBson, instances for Maybe
...
For example, you can now use fromBson of Maybe BsonValue (eg the result of
a lookup) to convert to Maybe a.
You can also give a Maybe a to toBson and for Nothing it will produce
BsonNull and for Just a it will create the appropriate BsonValue for a.
2010-01-18 10:26:13 -06:00
Scott R. Parish
e2bcabae12
TODO
2010-01-18 10:26:09 -06:00
Scott R. Parish
f60d984677
some initial Convertibles for converting from Bson
2010-01-18 09:57:25 -06:00
Scott R. Parish
67bf1245bb
some initial (to BsonValue) Convertible instances and toBson
2010-01-17 23:08:14 -06:00
Scott R. Parish
4cfd4e7fa3
use what appears to be more standard naming, eg BsonValue instead of BSValue
2010-01-17 11:41:24 -06:00
Scott R. Parish
7f777c8fb4
compile with -Wall and -Werror, fix all ensuing breaks
2010-01-16 21:40:22 -06:00
Scott R. Parish
a5ab7cdb64
quickFind and quickFind'
2010-01-16 20:06:01 -06:00
Scott R. Parish
183e619362
allDocs': a strict version of allDocs
2010-01-16 19:38:11 -06:00
Scott R. Parish
4c17f8e646
licenses (MIT)
2010-01-16 19:22:46 -06:00