Skip to content

Commit a064a5c

Browse files
authored
Fix quotes in code examples (parse-community#839)
1 parent b2b654c commit a064a5c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_includes/common/performance.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ You should avoid using regular expression constraints that don't use indexes. Fo
580580

581581
{% if page.language == "js" %}
582582
```javascript
583-
query.matches("playerName", "Michael", “i”);
583+
query.matches("playerName", "Michael", "i");
584584
```
585585
{% endif %}
586586

@@ -1114,7 +1114,7 @@ Suppose you are displaying movie information in your app and your data model con
11141114
```javascript
11151115
var Review = Parse.Object.extend("Review");
11161116
var query = new Parse.Query("Review");
1117-
query.equalTo(movie, movie);
1117+
query.equalTo("movie", movie);
11181118
query.count().then(function(count) {
11191119
// Request succeeded
11201120
});
@@ -1328,7 +1328,7 @@ Once you've got the keywords set up, you can efficiently look them up using “A
13281328
```javascript
13291329
var Post = Parse.Object.extend("Post");
13301330
var query = new Parse.Query(Post);
1331-
query.containsAll("hashtags", [#parse”, “#ftw]);
1331+
query.containsAll("hashtags", ["#parse", "#ftw"]);
13321332
query.find().then(function(results) {
13331333
// Request succeeded
13341334
}, function(error) {
@@ -1400,7 +1400,7 @@ var results = await ParseObject.GetQuery("Post")
14001400
```php
14011401
$query = new ParseQuery("Post");
14021402

1403-
$query->containsAll("hashtags", [#parse”, “#ftw]);
1403+
$query->containsAll("hashtags", ["#parse", "#ftw"]);
14041404

14051405
$posts = $query->find();
14061406
// posts containing all the given hash tags

0 commit comments

Comments
 (0)