Merge pull request #22 from spl/patch-1
Link 'find' and 'delete' in 'select' documentation
This commit is contained in:
commit
4cc68400bf
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ whereJS sel js = ("$where" =: js) : sel
|
||||||
|
|
||||||
class Select aQueryOrSelection where
|
class Select aQueryOrSelection where
|
||||||
select :: Selector -> Collection -> aQueryOrSelection
|
select :: Selector -> Collection -> aQueryOrSelection
|
||||||
-- ^ 'Query' or 'Selection' that selects documents in collection that match selector. The choice of type depends on use, for example, in @find (select sel col)@ it is a Query, and in @delete (select sel col)@ it is a Selection.
|
-- ^ 'Query' or 'Selection' that selects documents in collection that match selector. The choice of type depends on use, for example, in @'find' (select sel col)@ it is a Query, and in @'delete' (select sel col)@ it is a Selection.
|
||||||
|
|
||||||
instance Select Selection where
|
instance Select Selection where
|
||||||
select = Select
|
select = Select
|
||||||
|
|
Loading…
Reference in a new issue