Skip to content

Commit 0811150

Browse files
authored
Update 2. Working with Distinct Values and Sets.md
1 parent 4feef29 commit 0811150

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Introduction to MongoDB in Python/2. Working with Distinct Values and Sets.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,3 +137,10 @@ ratio = n_in_or_after / (n_in_or_after + n_before)
137137
print(ratio)
138138
```
139139
0.84
140+
141+
## # finding substring w/ $regex
142+
`"$regex"` every result that contains : "x"
143+
![image](https://user-images.githubusercontent.com/51888893/204360355-f2c31962-e37c-4257-91a1-caf9d896cda7.png)
144+
145+
### # $regex flags beginning,ending,escaping
146+
![image](https://user-images.githubusercontent.com/51888893/204361075-06e60e1d-2979-41c9-82f7-82ac9a38b737.png)

0 commit comments

Comments
 (0)