Skip to content

Commit

Permalink
Fix quotes in code examples (parse-community#839)
Browse files Browse the repository at this point in the history
  • Loading branch information
sadortun committed Jul 31, 2021
1 parent b2b654c commit a064a5c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions _includes/common/performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ You should avoid using regular expression constraints that don't use indexes. Fo

{% if page.language == "js" %}
```javascript
query.matches("playerName", "Michael", “i”);
query.matches("playerName", "Michael", "i");
```
{% endif %}

Expand Down Expand Up @@ -1114,7 +1114,7 @@ Suppose you are displaying movie information in your app and your data model con
```javascript
var Review = Parse.Object.extend("Review");
var query = new Parse.Query("Review");
query.equalTo(movie, movie);
query.equalTo("movie", movie);
query.count().then(function(count) {
// Request succeeded
});
Expand Down Expand Up @@ -1328,7 +1328,7 @@ Once you've got the keywords set up, you can efficiently look them up using “A
```javascript
var Post = Parse.Object.extend("Post");
var query = new Parse.Query(Post);
query.containsAll("hashtags", [#parse”, “#ftw]);
query.containsAll("hashtags", ["#parse", "#ftw"]);
query.find().then(function(results) {
// Request succeeded
}, function(error) {
Expand Down Expand Up @@ -1400,7 +1400,7 @@ var results = await ParseObject.GetQuery("Post")
```php
$query = new ParseQuery("Post");

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

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

0 comments on commit a064a5c

Please sign in to comment.