@salesforce/plugin-data 3.0.1-test.0 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +118 -105
- package/oclif.lock +197 -246
- package/oclif.manifest.json +167 -167
- package/package.json +10 -14
package/README.md
CHANGED
|
@@ -102,13 +102,14 @@ USAGE
|
|
|
102
102
|
$ sf data create record -o <value> -s <value> -v <value> [--json] [--api-version <value>] [-t]
|
|
103
103
|
|
|
104
104
|
FLAGS
|
|
105
|
-
-o, --target-org=<value>
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
-
|
|
110
|
-
|
|
111
|
-
|
|
105
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
106
|
+
configuration variable is already set.
|
|
107
|
+
-s, --sobject=<value> (required) API name of the Salesforce or Tooling API object that you're inserting a record
|
|
108
|
+
into.
|
|
109
|
+
-t, --use-tooling-api Use Tooling API so you can insert a record in a Tooling API object.
|
|
110
|
+
-v, --values=<value> (required) Values for the flags in the form <fieldName>=<value>, separate multiple pairs
|
|
111
|
+
with spaces.
|
|
112
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
112
113
|
|
|
113
114
|
GLOBAL FLAGS
|
|
114
115
|
--json Format output as json.
|
|
@@ -145,7 +146,7 @@ EXAMPLES
|
|
|
145
146
|
TracedEntityId=01p17000000R6bLAAS"
|
|
146
147
|
```
|
|
147
148
|
|
|
148
|
-
_See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/
|
|
149
|
+
_See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.2/src/commands/data/create/record.ts)_
|
|
149
150
|
|
|
150
151
|
## `sf data delete bulk`
|
|
151
152
|
|
|
@@ -156,15 +157,16 @@ USAGE
|
|
|
156
157
|
$ sf data delete bulk -o <value> -f <value> -s <value> [--json] [--api-version <value>] [-w <value> | -a] [--verbose]
|
|
157
158
|
|
|
158
159
|
FLAGS
|
|
159
|
-
-a, --async
|
|
160
|
-
-f, --file=<value>
|
|
161
|
-
-o, --target-org=<value>
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
160
|
+
-a, --async Run the command asynchronously.
|
|
161
|
+
-f, --file=<value> (required) CSV file that contains the IDs of the records to update or delete.
|
|
162
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
163
|
+
configuration variable is already set.
|
|
164
|
+
-s, --sobject=<value> (required) API name of the Salesforce object, either standard or custom, that you want to
|
|
165
|
+
update or delete records from.
|
|
166
|
+
-w, --wait=<value> [default: 0 minutes] Number of minutes to wait for the command to complete before
|
|
167
|
+
displaying the results.
|
|
168
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
169
|
+
--verbose Print verbose output of failed records if result is available.
|
|
168
170
|
|
|
169
171
|
GLOBAL FLAGS
|
|
170
172
|
--json Format output as json.
|
|
@@ -189,7 +191,7 @@ EXAMPLES
|
|
|
189
191
|
$ sf data delete bulk --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
|
|
190
192
|
```
|
|
191
193
|
|
|
192
|
-
_See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/
|
|
194
|
+
_See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.2/src/commands/data/delete/bulk.ts)_
|
|
193
195
|
|
|
194
196
|
## `sf data delete record`
|
|
195
197
|
|
|
@@ -200,13 +202,14 @@ USAGE
|
|
|
200
202
|
$ sf data delete record -o <value> -s <value> [--json] [--api-version <value>] [-i <value>] [-w <value>] [-t]
|
|
201
203
|
|
|
202
204
|
FLAGS
|
|
203
|
-
-i, --record-id=<value>
|
|
204
|
-
-o, --target-org=<value>
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
-
|
|
209
|
-
--
|
|
205
|
+
-i, --record-id=<value> ID of the record you’re deleting.
|
|
206
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
207
|
+
configuration variable is already set.
|
|
208
|
+
-s, --sobject=<value> (required) API name of the Salesforce or Tooling API object that you're deleting a record
|
|
209
|
+
from.
|
|
210
|
+
-t, --use-tooling-api Use Tooling API so you can delete a record from a Tooling API object.
|
|
211
|
+
-w, --where=<value> List of <fieldName>=<value> pairs that identify the record you want to delete.
|
|
212
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
210
213
|
|
|
211
214
|
GLOBAL FLAGS
|
|
212
215
|
--json Format output as json.
|
|
@@ -247,7 +250,7 @@ EXAMPLES
|
|
|
247
250
|
$ sf data delete record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
|
|
248
251
|
```
|
|
249
252
|
|
|
250
|
-
_See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/
|
|
253
|
+
_See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.2/src/commands/data/delete/record.ts)_
|
|
251
254
|
|
|
252
255
|
## `sf data delete resume`
|
|
253
256
|
|
|
@@ -259,12 +262,12 @@ USAGE
|
|
|
259
262
|
<value>]
|
|
260
263
|
|
|
261
264
|
FLAGS
|
|
262
|
-
-i, --job-id=<value>
|
|
263
|
-
-o, --target-org=<value>
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
265
|
+
-i, --job-id=<value> ID of the job you want to resume.
|
|
266
|
+
-o, --target-org=<value> Org alias or username to use for the target org.
|
|
267
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
268
|
+
--use-most-recent Use the ID of the most recently-run bulk job.
|
|
269
|
+
--wait=<value> [default: 0 minutes] Number of minutes to wait for the command to complete before
|
|
270
|
+
displaying the results.
|
|
268
271
|
|
|
269
272
|
GLOBAL FLAGS
|
|
270
273
|
--json Format output as json.
|
|
@@ -284,7 +287,7 @@ EXAMPLES
|
|
|
284
287
|
$ sf data delete resume --use-most-recent --target-org my-scratch
|
|
285
288
|
```
|
|
286
289
|
|
|
287
|
-
_See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/
|
|
290
|
+
_See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.2/src/commands/data/delete/resume.ts)_
|
|
288
291
|
|
|
289
292
|
## `sf data export tree`
|
|
290
293
|
|
|
@@ -295,12 +298,13 @@ USAGE
|
|
|
295
298
|
$ sf data export tree -o <value> -q <value> [--json] [--api-version <value>] [-p] [-x <value>] [-d <value>]
|
|
296
299
|
|
|
297
300
|
FLAGS
|
|
298
|
-
-d, --output-dir=<value>
|
|
299
|
-
-o, --target-org=<value>
|
|
300
|
-
|
|
301
|
-
-
|
|
302
|
-
-
|
|
303
|
-
--
|
|
301
|
+
-d, --output-dir=<value> Directory in which to generate the JSON files; default is current directory.
|
|
302
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
303
|
+
configuration variable is already set.
|
|
304
|
+
-p, --plan Generate multiple sObject tree files and a plan definition file for aggregated import.
|
|
305
|
+
-q, --query=<value> (required) SOQL query, or filepath of a file that contains the query, to retrieve records.
|
|
306
|
+
-x, --prefix=<value> Prefix of generated files.
|
|
307
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
304
308
|
|
|
305
309
|
GLOBAL FLAGS
|
|
306
310
|
--json Format output as json.
|
|
@@ -341,7 +345,7 @@ EXAMPLES
|
|
|
341
345
|
my-scratch
|
|
342
346
|
```
|
|
343
347
|
|
|
344
|
-
_See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/
|
|
348
|
+
_See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.2/src/commands/data/export/tree.ts)_
|
|
345
349
|
|
|
346
350
|
## `sf data get record`
|
|
347
351
|
|
|
@@ -352,13 +356,14 @@ USAGE
|
|
|
352
356
|
$ sf data get record -o <value> -s <value> [--json] [--api-version <value>] [-i <value>] [-w <value>] [-t]
|
|
353
357
|
|
|
354
358
|
FLAGS
|
|
355
|
-
-i, --record-id=<value>
|
|
356
|
-
-o, --target-org=<value>
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
-
|
|
361
|
-
--
|
|
359
|
+
-i, --record-id=<value> ID of the record you’re retrieving.
|
|
360
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
361
|
+
configuration variable is already set.
|
|
362
|
+
-s, --sobject=<value> (required) API name of the Salesforce or Tooling API object that you're retrieving a record
|
|
363
|
+
from.
|
|
364
|
+
-t, --use-tooling-api Use Tooling API so you can retrieve a record from a Tooling API object.
|
|
365
|
+
-w, --where=<value> List of <fieldName>=<value> pairs that identify the record you want to display.
|
|
366
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
362
367
|
|
|
363
368
|
GLOBAL FLAGS
|
|
364
369
|
--json Format output as json.
|
|
@@ -402,7 +407,7 @@ EXAMPLES
|
|
|
402
407
|
$ sf data get record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
|
|
403
408
|
```
|
|
404
409
|
|
|
405
|
-
_See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/
|
|
410
|
+
_See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.2/src/commands/data/get/record.ts)_
|
|
406
411
|
|
|
407
412
|
## `sf data import tree`
|
|
408
413
|
|
|
@@ -413,13 +418,14 @@ USAGE
|
|
|
413
418
|
$ sf data import tree -o <value> [--json] [--api-version <value>] [-f <value> | -p <value>] [--config-help]
|
|
414
419
|
|
|
415
420
|
FLAGS
|
|
416
|
-
-f, --files=<value>...
|
|
417
|
-
|
|
418
|
-
-o, --target-org=<value>
|
|
419
|
-
|
|
420
|
-
--
|
|
421
|
-
|
|
422
|
-
|
|
421
|
+
-f, --files=<value>... Comma-separated and in-order JSON files that contain the records, in sObject tree format,
|
|
422
|
+
that you want to insert.
|
|
423
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
424
|
+
configuration variable is already set.
|
|
425
|
+
-p, --plan=<value> Plan definition file to insert multiple data files.
|
|
426
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
427
|
+
--config-help Display schema information for the --plan configuration file to stdout; if you specify this
|
|
428
|
+
flag, all other flags except --json are ignored.
|
|
423
429
|
|
|
424
430
|
GLOBAL FLAGS
|
|
425
431
|
--json Format output as json.
|
|
@@ -452,7 +458,7 @@ EXAMPLES
|
|
|
452
458
|
$ sf data import tree --plan Account-Contact-plan.json
|
|
453
459
|
```
|
|
454
460
|
|
|
455
|
-
_See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/
|
|
461
|
+
_See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.2/src/commands/data/import/tree.ts)_
|
|
456
462
|
|
|
457
463
|
## `sf data query`
|
|
458
464
|
|
|
@@ -466,15 +472,16 @@ USAGE
|
|
|
466
472
|
FLAGS
|
|
467
473
|
-b, --bulk Use Bulk API 2.0 to run the query.
|
|
468
474
|
-f, --file=<value> File that contains the SOQL query.
|
|
469
|
-
-o, --target-org=<value> (required) Username or alias of the target org.
|
|
475
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
476
|
+
configuration variable is already set.
|
|
470
477
|
-q, --query=<value> SOQL query to execute.
|
|
471
478
|
-r, --result-format=<option> [default: human] Format to display the results; the --json flag overrides this flag.
|
|
472
479
|
<options: human|json|csv>
|
|
473
480
|
-t, --use-tooling-api Use Tooling API so you can run queries on Tooling API objects.
|
|
474
481
|
-w, --wait=<value> Time to wait for the command to finish, in minutes.
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
482
|
+
--all-rows Include deleted records. By default, deleted records are not returned.
|
|
483
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
484
|
+
--async Use Bulk API 2.0, but don't wait for the job to complete.
|
|
478
485
|
|
|
479
486
|
GLOBAL FLAGS
|
|
480
487
|
--json Format output as json.
|
|
@@ -514,7 +521,7 @@ EXAMPLES
|
|
|
514
521
|
$ sf data query --query "SELECT Id FROM Contact" --bulk --wait 0
|
|
515
522
|
```
|
|
516
523
|
|
|
517
|
-
_See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/
|
|
524
|
+
_See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.2/src/commands/data/query.ts)_
|
|
518
525
|
|
|
519
526
|
## `sf data query resume`
|
|
520
527
|
|
|
@@ -530,8 +537,8 @@ FLAGS
|
|
|
530
537
|
-o, --target-org=<value> Org alias or username to use for the target org.
|
|
531
538
|
-r, --result-format=<option> [default: human] Format to display the results; the --json flag overrides this flag.
|
|
532
539
|
<options: human|json|csv>
|
|
533
|
-
|
|
534
|
-
|
|
540
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
541
|
+
--use-most-recent Use the most recent bulk query ID from cache.
|
|
535
542
|
|
|
536
543
|
GLOBAL FLAGS
|
|
537
544
|
--json Format output as json.
|
|
@@ -550,7 +557,7 @@ EXAMPLES
|
|
|
550
557
|
$ sf data query resume --bulk-query-id 7500x000005BdFzXXX
|
|
551
558
|
```
|
|
552
559
|
|
|
553
|
-
_See code: [src/commands/data/query/resume.ts](https://github.com/salesforcecli/plugin-data/blob/
|
|
560
|
+
_See code: [src/commands/data/query/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.2/src/commands/data/query/resume.ts)_
|
|
554
561
|
|
|
555
562
|
## `sf data resume`
|
|
556
563
|
|
|
@@ -561,10 +568,11 @@ USAGE
|
|
|
561
568
|
$ sf data resume -o <value> -i <value> [--json] [--api-version <value>] [-b <value>]
|
|
562
569
|
|
|
563
570
|
FLAGS
|
|
564
|
-
-b, --batch-id=<value>
|
|
565
|
-
-i, --job-id=<value>
|
|
566
|
-
-o, --target-org=<value>
|
|
567
|
-
|
|
571
|
+
-b, --batch-id=<value> ID of the batch whose status you want to view; you must also specify the job ID.
|
|
572
|
+
-i, --job-id=<value> (required) ID of the job whose status you want to view.
|
|
573
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
574
|
+
configuration variable is already set.
|
|
575
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
568
576
|
|
|
569
577
|
GLOBAL FLAGS
|
|
570
578
|
--json Format output as json.
|
|
@@ -585,7 +593,7 @@ EXAMPLES
|
|
|
585
593
|
$ sf data resume --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA
|
|
586
594
|
```
|
|
587
595
|
|
|
588
|
-
_See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/
|
|
596
|
+
_See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.2/src/commands/data/resume.ts)_
|
|
589
597
|
|
|
590
598
|
## `sf data update record`
|
|
591
599
|
|
|
@@ -597,14 +605,15 @@ USAGE
|
|
|
597
605
|
[-t]
|
|
598
606
|
|
|
599
607
|
FLAGS
|
|
600
|
-
-i, --record-id=<value>
|
|
601
|
-
-o, --target-org=<value>
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
-
|
|
606
|
-
-
|
|
607
|
-
--
|
|
608
|
+
-i, --record-id=<value> ID of the record you’re updating.
|
|
609
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
610
|
+
configuration variable is already set.
|
|
611
|
+
-s, --sobject=<value> (required) API name of the Salesforce or Tooling API object that contains the record you're
|
|
612
|
+
updating.
|
|
613
|
+
-t, --use-tooling-api Use Tooling API so you can update a record in a Tooling API object.
|
|
614
|
+
-v, --values=<value> (required) Fields that you're updating, in the format of <fieldName>=<value> pairs.
|
|
615
|
+
-w, --where=<value> List of <fieldName>=<value> pairs that identify the record you want to update.
|
|
616
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
608
617
|
|
|
609
618
|
GLOBAL FLAGS
|
|
610
619
|
--json Format output as json.
|
|
@@ -645,7 +654,7 @@ EXAMPLES
|
|
|
645
654
|
"ExpirationDate=2017-12-01T00:58:04.000+0000"
|
|
646
655
|
```
|
|
647
656
|
|
|
648
|
-
_See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/
|
|
657
|
+
_See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.2/src/commands/data/update/record.ts)_
|
|
649
658
|
|
|
650
659
|
## `sf data upsert bulk`
|
|
651
660
|
|
|
@@ -660,13 +669,14 @@ FLAGS
|
|
|
660
669
|
-a, --async Run the command asynchronously.
|
|
661
670
|
-f, --file=<value> (required) CSV file that contains the IDs of the records to update or delete.
|
|
662
671
|
-i, --external-id=<value> (required) Name of the external ID field, or the Id field.
|
|
663
|
-
-o, --target-org=<value> (required) Username or alias of the target org.
|
|
672
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
673
|
+
configuration variable is already set.
|
|
664
674
|
-s, --sobject=<value> (required) API name of the Salesforce object, either standard or custom, that you want to
|
|
665
675
|
update or delete records from.
|
|
666
676
|
-w, --wait=<value> [default: 0 minutes] Number of minutes to wait for the command to complete before
|
|
667
677
|
displaying the results.
|
|
668
|
-
|
|
669
|
-
|
|
678
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
679
|
+
--verbose Print verbose output of failed records if result is available.
|
|
670
680
|
|
|
671
681
|
GLOBAL FLAGS
|
|
672
682
|
--json Format output as json.
|
|
@@ -696,7 +706,7 @@ EXAMPLES
|
|
|
696
706
|
my-scratch
|
|
697
707
|
```
|
|
698
708
|
|
|
699
|
-
_See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/
|
|
709
|
+
_See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.2/src/commands/data/upsert/bulk.ts)_
|
|
700
710
|
|
|
701
711
|
## `sf data upsert resume`
|
|
702
712
|
|
|
@@ -708,12 +718,12 @@ USAGE
|
|
|
708
718
|
<value>]
|
|
709
719
|
|
|
710
720
|
FLAGS
|
|
711
|
-
-i, --job-id=<value>
|
|
712
|
-
-o, --target-org=<value>
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
721
|
+
-i, --job-id=<value> ID of the job you want to resume.
|
|
722
|
+
-o, --target-org=<value> Org alias or username to use for the target org.
|
|
723
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
724
|
+
--use-most-recent Use the ID of the most recently-run bulk job.
|
|
725
|
+
--wait=<value> [default: 0 minutes] Number of minutes to wait for the command to complete before
|
|
726
|
+
displaying the results.
|
|
717
727
|
|
|
718
728
|
GLOBAL FLAGS
|
|
719
729
|
--json Format output as json.
|
|
@@ -733,7 +743,7 @@ EXAMPLES
|
|
|
733
743
|
$ sf data upsert resume --use-most-recent --target-org my-scratch
|
|
734
744
|
```
|
|
735
745
|
|
|
736
|
-
_See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/
|
|
746
|
+
_See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.2/src/commands/data/upsert/resume.ts)_
|
|
737
747
|
|
|
738
748
|
## `sf force data bulk delete`
|
|
739
749
|
|
|
@@ -744,13 +754,14 @@ USAGE
|
|
|
744
754
|
$ sf force data bulk delete -o <value> -f <value> -s <value> [--json] [--api-version <value>] [-w <value>]
|
|
745
755
|
|
|
746
756
|
FLAGS
|
|
747
|
-
-f, --file=<value>
|
|
748
|
-
-o, --target-org=<value>
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
757
|
+
-f, --file=<value> (required) CSV file that contains the IDs of the records to delete.
|
|
758
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
759
|
+
configuration variable is already set.
|
|
760
|
+
-s, --sobject=<value> (required) API name of the Salesforce object, either standard or custom, that you want to
|
|
761
|
+
delete records from.
|
|
762
|
+
-w, --wait=<value> [default: 0 minutes] Number of minutes to wait for the command to complete before
|
|
763
|
+
displaying the results.
|
|
764
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
754
765
|
|
|
755
766
|
GLOBAL FLAGS
|
|
756
767
|
--json Format output as json.
|
|
@@ -777,7 +788,7 @@ EXAMPLES
|
|
|
777
788
|
$ sf force data bulk delete --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
|
|
778
789
|
```
|
|
779
790
|
|
|
780
|
-
_See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/
|
|
791
|
+
_See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.2/src/commands/force/data/bulk/delete.ts)_
|
|
781
792
|
|
|
782
793
|
## `sf force data bulk status`
|
|
783
794
|
|
|
@@ -788,10 +799,11 @@ USAGE
|
|
|
788
799
|
$ sf force data bulk status -o <value> -i <value> [--json] [--api-version <value>] [-b <value>]
|
|
789
800
|
|
|
790
801
|
FLAGS
|
|
791
|
-
-b, --batch-id=<value>
|
|
792
|
-
-i, --job-id=<value>
|
|
793
|
-
-o, --target-org=<value>
|
|
794
|
-
|
|
802
|
+
-b, --batch-id=<value> ID of the batch whose status you want to view; you must also specify the job ID.
|
|
803
|
+
-i, --job-id=<value> (required) ID of the job whose status you want to view.
|
|
804
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
805
|
+
configuration variable is already set.
|
|
806
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
795
807
|
|
|
796
808
|
GLOBAL FLAGS
|
|
797
809
|
--json Format output as json.
|
|
@@ -812,7 +824,7 @@ EXAMPLES
|
|
|
812
824
|
$ sf force data bulk status --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA --target-org my-scratch
|
|
813
825
|
```
|
|
814
826
|
|
|
815
|
-
_See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/
|
|
827
|
+
_See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.2/src/commands/force/data/bulk/status.ts)_
|
|
816
828
|
|
|
817
829
|
## `sf force data bulk upsert`
|
|
818
830
|
|
|
@@ -826,13 +838,14 @@ USAGE
|
|
|
826
838
|
FLAGS
|
|
827
839
|
-f, --file=<value> (required) CSV file that contains the records to upsert.
|
|
828
840
|
-i, --external-id=<value> (required) Name of the external ID field, or the Id field.
|
|
829
|
-
-o, --target-org=<value> (required) Username or alias of the target org.
|
|
841
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
842
|
+
configuration variable is already set.
|
|
830
843
|
-r, --serial Run batches in serial mode.
|
|
831
844
|
-s, --sobject=<value> (required) API name of the Salesforce object, either standard or custom, that you want to
|
|
832
845
|
upsert records to.
|
|
833
846
|
-w, --wait=<value> [default: 0 minutes] Number of minutes to wait for the command to complete before
|
|
834
847
|
displaying the results.
|
|
835
|
-
|
|
848
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
836
849
|
|
|
837
850
|
GLOBAL FLAGS
|
|
838
851
|
--json Format output as json.
|
|
@@ -868,6 +881,6 @@ EXAMPLES
|
|
|
868
881
|
--target-org my-scratch
|
|
869
882
|
```
|
|
870
883
|
|
|
871
|
-
_See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/
|
|
884
|
+
_See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/3.0.2/src/commands/force/data/bulk/upsert.ts)_
|
|
872
885
|
|
|
873
886
|
<!-- commandsstop -->
|