docs for createIndex
This commit is contained in:
parent
46839acdbc
commit
f1aa28b9e4
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue