Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
k-capehart committed Apr 1, 2024
1 parent 914f079 commit b7cdff9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ type Opportunity struct {

```go
opps := []Opportunity{}
err := sf.Query("SELECT Id, Name, StageName FROM Opportunity WHERE StageName = 'Prospecting'", &opps)
queryString := "SELECT Id, Name, StageName FROM Opportunity WHERE StageName = 'Prospecting'"
err := sf.Query(queryString, &opps)
if err != nil {
fmt.Println(err)
} else {
Expand Down

0 comments on commit b7cdff9

Please sign in to comment.