From f1aa28b9e4c69eb4387b7cf3d8cb56c0e0222632 Mon Sep 17 00:00:00 2001 From: "Scott R. Parish" Date: Tue, 19 Jan 2010 22:35:21 -0600 Subject: [PATCH] docs for createIndex --- Database/MongoDB.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Database/MongoDB.hs b/Database/MongoDB.hs index ad6f34e..fb0ef9e 100644 --- a/Database/MongoDB.hs +++ b/Database/MongoDB.hs @@ -629,6 +629,8 @@ fromDirection Descending = (-1) -- | Should this index guarantee uniqueness? type Unique = Bool +-- | Create a new index on /FullCollection/ on the list of /Key/ / +-- /Direction/ pairs. createIndex :: Connection -> FullCollection -> [(Key, Direction)] -> Unique -> IO String createIndex c col keys uniq = do