File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
.docs/angular-meteor/client/views/api Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 13
13
When working with CollectionFS we need to work differently with the `$meteor.collection` because
14
14
collectionFS collection is a bit different than `Mongo.Collection`.
15
15
16
- To work with collectionFS we send a third argument to `$meteor.collection` which is the CollectionFS
16
+ To work with collectionFS we send a ** third argument** to `$meteor.collection` which is the ` CollectionFS`
17
17
collection so that angular-meteor can use it to save and remove files.
18
18
19
19
----
20
20
21
21
## Usage
22
22
23
+ $meteorCollection(Images, false, Images);
24
+
25
+ // Or in case you want a different query
26
+
23
27
$meteorCollection(function() {
24
- return Images.find();
28
+ return Images.find();
25
29
}, false, Images);
26
30
27
- // Or
28
-
31
+ // Or in case you don't want to make change to the collection and just display it
29
32
$meteorCollection(Images, false);
30
33
31
34
----
You can’t perform that action at this time.
0 commit comments