docs for createIndex

This commit is contained in:
Scott R. Parish 2010-01-19 22:35:21 -06:00
parent 46839acdbc
commit f1aa28b9e4

View file

@ -629,6 +629,8 @@ fromDirection Descending = (-1)
-- | Should this index guarantee uniqueness? -- | Should this index guarantee uniqueness?
type Unique = Bool type Unique = Bool
-- | Create a new index on /FullCollection/ on the list of /Key/ /
-- /Direction/ pairs.
createIndex :: Connection -> FullCollection -> createIndex :: Connection -> FullCollection ->
[(Key, Direction)] -> Unique -> IO String [(Key, Direction)] -> Unique -> IO String
createIndex c col keys uniq = do createIndex c col keys uniq = do