Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmonette committed Apr 6, 2017
1 parent 1d7baa5 commit 50c48ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Q query = new Q(Account.SObjectType)
.add(Q.condition('BillingCountry').isNotNull())
.addLimit(5);

System.debug(query.toSOQL());
System.debug(query.build());
// SELECT CreatedById, Description, Owner.Email, (SELECT Id FROM Contacts) FROM Account WHERE Name LIKE '%Acme%' AND BillingCountry != null LIMIT 5
```

Expand All @@ -40,7 +40,7 @@ if (String.isNotBlank(lastName)) {
query.add(Q.condition('LastName').equals(lastName))
}

System.debug(query.toSOQL());
System.debug(query.build());
// SELECT Id FROM Contact WHERE FirstName = 'Céline' AND LastName = 'Dion' LIMIT 5
```

Expand Down

0 comments on commit 50c48ba

Please sign in to comment.