Skip to content

Commit

Permalink
documentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
pgajek2 committed Jun 27, 2023
1 parent 1bd4e75 commit 1de6eef
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions website/docs/api/soql-filter.md
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ SOQL.of(Contact.SObjectType)

```apex
Filter contains(String value)
Filter contains(String prefix, String value, String suffix);
```

**Example**
Expand All @@ -426,6 +427,10 @@ WHERE Name = '%My%'
SOQL.of(Contact.SObjectType)
.whereAre(SOQL.Filter.with(Account.Name).contains('My'))
.toList();
SOQL.of(Contact.SObjectType)
.whereAre(SOQL.Filter.with(Account.Name).contains('_', 'My', '%'))
.toList();
```

### endsWith
Expand Down
4 changes: 4 additions & 0 deletions website/docs/api/soql.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Conctructs an `SOQL`.

```apex
SOQL of(SObjectType ofObject)
SOQL of(String ofObject)
```

**Example**
Expand All @@ -23,6 +24,9 @@ SELECT Id FROM Account
```
```apex
SOQL.of(Account.SObjectType).toList();
String ofObject = 'Account';
SOQL.of(ofObject).toList();
```

## select
Expand Down

1 comment on commit 1de6eef

@vercel
Copy link

@vercel vercel bot commented on 1de6eef Jun 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.