Skip to content

Commit 08e2c06

Browse files
committed
chore: updata data query example
1 parent 2c0e86f commit 08e2c06

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

messages/soql.query.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ When using --bulk, the command waits 3 minutes by default for the query to compl
1616

1717
<%= config.bin %> <%= command.id %> --query "SELECT Id, Name, Account.Name FROM Contact"
1818

19-
- Read the SOQL query from a file called "query.txt"; the command uses the org with alias "my-scratch":
19+
- Read the SOQL query from a file called "query.txt" and write the CSV-formatted output to a file; the command uses the org with alias "my-scratch":
2020

21-
<%= config.bin %> <%= command.id %> --file query.txt --target-org my-scratch
21+
<%= config.bin %> <%= command.id %> --file query.txt --output-file output.csv --result-format csv --target-org my-scratch
2222

2323
- Use Tooling API to run a query on the ApexTrigger Tooling API object:
2424

@@ -58,7 +58,7 @@ Time to wait for the command to finish, in minutes.
5858

5959
# flags.output-file.summary
6060

61-
File where records are written; only CSV and JSON output formats are supported.
61+
File where records are written; only CSV and JSON output formats are supported.
6262

6363
# displayQueryRecordsRetrieved
6464

0 commit comments

Comments
 (0)