2010-01-07 04:36:21 +00:00
|
|
|
TODO
|
|
|
|
====
|
|
|
|
|
|
|
|
BSON
|
|
|
|
----
|
|
|
|
+ support something like toSql (convert a haskell type to bson)
|
2010-01-13 13:14:44 +00:00
|
|
|
- write convertible instances
|
|
|
|
+ on insert/update: reject keys that start with "$" or "."
|
|
|
|
+ data support for common mongo "$symbols"
|
2010-01-11 03:22:02 +00:00
|
|
|
|
|
|
|
MongoDB
|
|
|
|
-------
|
|
|
|
+ support safe operations
|
|
|
|
+ auto-reconnection
|
2010-01-13 13:14:44 +00:00
|
|
|
+ seemless iterator (using lazy lists?) (unsafeInterleaveIO)
|
|
|
|
- hdbc has a fetchRow that returns a Maybe and auto-closes their statement
|
|
|
|
once everything's been read
|
|
|
|
- hdbc has a fetchAllRows that builds up a lazy list using fetchRow (so
|
|
|
|
it auto-closes the statement)
|
2010-01-13 02:09:17 +00:00
|
|
|
+ destoy cursor (how?/when?)
|
2010-01-13 13:14:44 +00:00
|
|
|
|
|
|
|
Misc
|
|
|
|
----
|
|
|
|
+ learn more about haskelldb, anything we can learn from there
|
|
|
|
+ go through pymongo api and figure out what parts to adopt (also look
|
|
|
|
at other languages?)
|
|
|
|
+ support for aggricated commands like listing collections
|
|
|
|
|