File tree 2 files changed +44
-0
lines changed
Courses/Database + Application Design/MongoDB/TheNewBoston - MongoDB for Beginners Tutorials
2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ ` $gt ` Greater then
2
+ ` $gte ` Greater then or equal
3
+
4
+ ` $lt ` Less then
5
+ ` $lt ` Less then or equal
6
+
7
+ ` $or ` Give me result where they have one of the arguments.
8
+
9
+ Example:
10
+
11
+ ``` js
12
+ db .players .find ({
13
+ $or: [
14
+ {" position" : " Left Wing" },
15
+ {" position" : " Right Wing" },
16
+ ]
17
+ })
18
+ ```
19
+
20
+ Example if we want only some stuff coming from the search.
21
+
22
+ ``` js
23
+ db .players .find (
24
+ {" position" : " Center" },
25
+ {" name" : 1 }
26
+ )
27
+ ```
28
+ Here we get only the name coming but with the id too. If we dont want the id we need to write:
29
+
30
+ ``` js
31
+ db .players .find (
32
+ {" position" : " Center" },
33
+ {" name" : 1 , _id: 0 }
34
+ )
35
+ ```
36
+
37
+ We can limit the query with the add of ` .limit(number) `
Original file line number Diff line number Diff line change @@ -27,6 +27,12 @@ If you have some resources to shared please do. I'm eager to find new stuff and
27
27
28
28
- [ ] [ 8 Beautiful Ruby on Rails Apps in 30 Days & TDD] ( https://www.udemy.com/8-beautiful-ruby-on-rails-apps-in-30-days/learn/v4/overview )
29
29
30
+ - Database + Application Design
31
+
32
+ - MongoDB
33
+
34
+ - [ x] [ TheNewBoston - MongoDB for Beginners Tutorials ] (https://www.youtube.com/playlist?list=PL6gx4Cwl9DGDQ5DrbIl20Zu9hx1IjeVhO )
35
+
30
36
- JavaScript
31
37
32
38
- [x] [ WatchAndCode - Practical JavaScript] ( https://watchandcode.com/courses/practical-javascript )
@@ -302,6 +308,7 @@ If you have some resources to shared please do. I'm eager to find new stuff and
302
308
- [x] [10 Quick Tips for Sketch 3](https://www.youtube.com/watch?v=WcCZi4A2mY4)
303
309
- [x] [Prototyping a refresh animation with Flinto and Sketch 3](https://www.youtube.com/watch?v=L4U4rVTKzEI)
304
310
- [x] [Icons Animations Using Flinto](https://www.youtube.com/watch?v=bbx_P-52oro)
311
+ - [x] [Book App - Screen Transition Tutorial with Principle](https://www.youtube.com/watch?v=KHlqDRQdnic)
305
312
306
313
- WordPress
307
314
You can’t perform that action at this time.
0 commit comments