@salesforce/plugin-data 4.0.52 → 4.0.54

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 CHANGED
@@ -144,7 +144,7 @@ EXAMPLES
144
144
  $ sf data bulk results --job-id 7507i000fake341G --target-org my-scratch
145
145
  ```
146
146
 
147
- _See code: [src/commands/data/bulk/results.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.52/src/commands/data/bulk/results.ts)_
147
+ _See code: [src/commands/data/bulk/results.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.54/src/commands/data/bulk/results.ts)_
148
148
 
149
149
  ## `sf data create file`
150
150
 
@@ -193,7 +193,7 @@ EXAMPLES
193
193
  $ sf data create file --file path/to/astro.png --parent-id a03fakeLoJWPIA3
194
194
  ```
195
195
 
196
- _See code: [src/commands/data/create/file.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.52/src/commands/data/create/file.ts)_
196
+ _See code: [src/commands/data/create/file.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.54/src/commands/data/create/file.ts)_
197
197
 
198
198
  ## `sf data create record`
199
199
 
@@ -249,7 +249,7 @@ EXAMPLES
249
249
  TracedEntityId=01p17000000R6bLAAS"
250
250
  ```
251
251
 
252
- _See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.52/src/commands/data/create/record.ts)_
252
+ _See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.54/src/commands/data/create/record.ts)_
253
253
 
254
254
  ## `sf data delete bulk`
255
255
 
@@ -257,11 +257,10 @@ Bulk delete records from an org using a CSV file. Uses Bulk API 2.0.
257
257
 
258
258
  ```
259
259
  USAGE
260
- $ sf data delete bulk -o <value> -s <value> [--json] [--flags-dir <value>] [--api-version <value>] [-w <value> | -a]
260
+ $ sf data delete bulk -o <value> -s <value> [--json] [--flags-dir <value>] [--api-version <value>] [-w <value>]
261
261
  (--line-ending CRLF|LF -f <value>) [--hard-delete]
262
262
 
263
263
  FLAGS
264
- -a, --async Run the command asynchronously.
265
264
  -f, --file=<value> (required) CSV file that contains the IDs of the records to update or delete.
266
265
  -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
267
266
  configuration variable is already set.
@@ -309,7 +308,7 @@ FLAG DESCRIPTIONS
309
308
  and can be enabled only by a system administrator.
310
309
  ```
311
310
 
312
- _See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.52/src/commands/data/delete/bulk.ts)_
311
+ _See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.54/src/commands/data/delete/bulk.ts)_
313
312
 
314
313
  ## `sf data delete record`
315
314
 
@@ -370,7 +369,7 @@ EXAMPLES
370
369
  $ sf data delete record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
371
370
  ```
372
371
 
373
- _See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.52/src/commands/data/delete/record.ts)_
372
+ _See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.54/src/commands/data/delete/record.ts)_
374
373
 
375
374
  ## `sf data delete resume`
376
375
 
@@ -409,7 +408,7 @@ EXAMPLES
409
408
  $ sf data delete resume --use-most-recent --target-org my-scratch
410
409
  ```
411
410
 
412
- _See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.52/src/commands/data/delete/resume.ts)_
411
+ _See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.54/src/commands/data/delete/resume.ts)_
413
412
 
414
413
  ## `sf data export bulk`
415
414
 
@@ -418,7 +417,7 @@ Bulk export records from an org into a file using a SOQL query. Uses Bulk API 2.
418
417
  ```
419
418
  USAGE
420
419
  $ sf data export bulk -o <value> --output-file <value> -r csv|json [--json] [--flags-dir <value>] [--api-version
421
- <value>] [-w <minutes> | --async] [-q <value> | --query-file <value>] [--all-rows] [--column-delimiter
420
+ <value>] [-w <minutes>] [-q <value> | --query-file <value>] [--all-rows] [--column-delimiter
422
421
  BACKQUOTE|CARET|COMMA|PIPE|SEMICOLON|TAB] [--line-ending LF|CRLF]
423
422
 
424
423
  FLAGS
@@ -431,7 +430,6 @@ FLAGS
431
430
  --all-rows Include records that have been soft-deleted due to a merge or delete. By default,
432
431
  deleted records are not returned.
433
432
  --api-version=<value> Override the api version used for api requests made by this command
434
- --async Don't wait for the job to complete.
435
433
  --column-delimiter=<option> Column delimiter to be used when writing CSV output. Default is COMMA.
436
434
  <options: BACKQUOTE|CARET|COMMA|PIPE|SEMICOLON|TAB>
437
435
  --line-ending=<option> Line ending to be used when writing CSV output. Default value on Windows is is
@@ -455,8 +453,8 @@ DESCRIPTION
455
453
  JSON format.
456
454
 
457
455
  Bulk exports can take a while, depending on how many records are returned by the SOQL query. If the command times out,
458
- or you specified the --async flag, the command displays the job ID. To see the status and get the results of the job,
459
- run "sf data export resume" and pass the job ID to the --job-id flag.
456
+ the command displays the job ID. To see the status and get the results of the job, run "sf data export resume" and
457
+ pass the job ID to the --job-id flag.
460
458
 
461
459
  IMPORTANT: This command uses Bulk API 2.0, which limits the type of SOQL queries you can run. For example, you can't
462
460
  use aggregate functions such as count(). For the complete list of limitations, see the "SOQL Considerations" section
@@ -475,15 +473,9 @@ EXAMPLES
475
473
 
476
474
  $ sf data export bulk --query "SELECT Id, Name, Account.Name FROM Contact" --output-file export-accounts.json \
477
475
  --result-format json --wait 10 --all-rows
478
-
479
- Export asynchronously; the command immediately returns a job ID that you then pass to the "sf data export resume"
480
- command:
481
-
482
- $ sf data export bulk --query "SELECT Id, Name, Account.Name FROM Contact" --output-file export-accounts.json \
483
- --result-format json --async
484
476
  ```
485
477
 
486
- _See code: [src/commands/data/export/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.52/src/commands/data/export/bulk.ts)_
478
+ _See code: [src/commands/data/export/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.54/src/commands/data/export/bulk.ts)_
487
479
 
488
480
  ## `sf data export resume`
489
481
 
@@ -505,9 +497,9 @@ GLOBAL FLAGS
505
497
  DESCRIPTION
506
498
  Resume a bulk export job that you previously started. Uses Bulk API 2.0.
507
499
 
508
- When the original "data export bulk" command either times out or is run with the --async flag, it displays a job ID.
509
- To see the status and get the results of the bulk export, run this command by either passing it the job ID or using
510
- the --use-most-recent flag to specify the most recent bulk export job.
500
+ When the original "data export bulk" command times out, it displays a job ID. To see the status and get the results of
501
+ the bulk export, run this command by either passing it the job ID or using the --use-most-recent flag to specify the
502
+ most recent bulk export job.
511
503
 
512
504
  Using either `--job-id` or `--use-most-recent` will properly resolve to the correct org where the bulk job was started
513
505
  based on the cached data by "data export bulk".
@@ -522,7 +514,7 @@ EXAMPLES
522
514
  $ sf data export resume --use-most-recent
523
515
  ```
524
516
 
525
- _See code: [src/commands/data/export/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.52/src/commands/data/export/resume.ts)_
517
+ _See code: [src/commands/data/export/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.54/src/commands/data/export/resume.ts)_
526
518
 
527
519
  ## `sf data export tree`
528
520
 
@@ -582,7 +574,7 @@ EXAMPLES
582
574
  my-scratch
583
575
  ```
584
576
 
585
- _See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.52/src/commands/data/export/tree.ts)_
577
+ _See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.54/src/commands/data/export/tree.ts)_
586
578
 
587
579
  ## `sf data get record`
588
580
 
@@ -646,7 +638,7 @@ EXAMPLES
646
638
  $ sf data get record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
647
639
  ```
648
640
 
649
- _See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.52/src/commands/data/get/record.ts)_
641
+ _See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.54/src/commands/data/get/record.ts)_
650
642
 
651
643
  ## `sf data import bulk`
652
644
 
@@ -654,11 +646,10 @@ Bulk import records into a Salesforce object from a CSV file. Uses Bulk API 2.0.
654
646
 
655
647
  ```
656
648
  USAGE
657
- $ sf data import bulk -s <value> -o <value> [--json] [--flags-dir <value>] [-a | -w <value>] [--api-version <value>]
649
+ $ sf data import bulk -s <value> -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-w <value>]
658
650
  (--line-ending CRLF|LF -f <value>) [--column-delimiter BACKQUOTE|CARET|COMMA|PIPE|SEMICOLON|TAB]
659
651
 
660
652
  FLAGS
661
- -a, --async Don't wait for the command to complete.
662
653
  -f, --file=<value> (required) CSV file that contains the Salesforce object records you want to import.
663
654
  -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
664
655
  configuration variable is already set.
@@ -684,9 +675,9 @@ DESCRIPTION
684
675
 
685
676
  All the records in the CSV file must be for the same Salesforce object. Specify the object with the `--sobject` flag.
686
677
 
687
- Bulk imports can take a while, depending on how many records are in the CSV file. If the command times out, or you
688
- specified the --async flag, the command displays the job ID. To see the status and get the results of the job, run "sf
689
- data import resume" and pass the job ID to the --job-id flag.
678
+ Bulk imports can take a while, depending on how many records are in the CSV file. If the command times out, the
679
+ command displays the job ID. To see the status and get the results of the job, run "sf data import resume" and pass
680
+ the job ID to the --job-id flag.
690
681
 
691
682
  For information and examples about how to prepare your CSV files, see "Prepare Data to Ingest" in the "Bulk API 2.0
692
683
  and Bulk API Developer Guide"
@@ -697,14 +688,9 @@ EXAMPLES
697
688
  in 10 minutes, the command ends and displays a job ID:
698
689
 
699
690
  $ sf data import bulk --file accounts.csv --sobject Account --wait 10 --target-org my-scratch
700
-
701
- Import asynchronously and use the default org; the command immediately returns a job ID that you then pass to the
702
- "sf data import resume" command:
703
-
704
- $ sf data import bulk --file accounts.csv --sobject Account --async
705
691
  ```
706
692
 
707
- _See code: [src/commands/data/import/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.52/src/commands/data/import/bulk.ts)_
693
+ _See code: [src/commands/data/import/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.54/src/commands/data/import/bulk.ts)_
708
694
 
709
695
  ## `sf data import resume`
710
696
 
@@ -726,9 +712,9 @@ GLOBAL FLAGS
726
712
  DESCRIPTION
727
713
  Resume a bulk import job that you previously started. Uses Bulk API 2.0.
728
714
 
729
- When the original "sf data import bulk" command either times out or is run with the --async flag, it displays a job
730
- ID. To see the status and get the results of the bulk import, run this command by either passing it the job ID or
731
- using the --use-most-recent flag to specify the most recent bulk import job.
715
+ When the original "sf data import bulk" command times out, it displays a job ID. To see the status and get the results
716
+ of the bulk import, run this command by either passing it the job ID or using the --use-most-recent flag to specify
717
+ the most recent bulk import job.
732
718
 
733
719
  EXAMPLES
734
720
  Resume a bulk import job to your default org using an ID:
@@ -740,7 +726,7 @@ EXAMPLES
740
726
  $ sf data import resume --use-most-recent --target-org my-scratch
741
727
  ```
742
728
 
743
- _See code: [src/commands/data/import/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.52/src/commands/data/import/resume.ts)_
729
+ _See code: [src/commands/data/import/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.54/src/commands/data/import/resume.ts)_
744
730
 
745
731
  ## `sf data import tree`
746
732
 
@@ -804,7 +790,7 @@ FLAG DESCRIPTIONS
804
790
  - files(array) - Files: An array of files paths to load
805
791
  ```
806
792
 
807
- _See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.52/src/commands/data/import/tree.ts)_
793
+ _See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.54/src/commands/data/import/tree.ts)_
808
794
 
809
795
  ## `sf data query`
810
796
 
@@ -857,7 +843,7 @@ EXAMPLES
857
843
  $ sf data query --query "SELECT Name FROM ApexTrigger" --use-tooling-api
858
844
  ```
859
845
 
860
- _See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.52/src/commands/data/query.ts)_
846
+ _See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.54/src/commands/data/query.ts)_
861
847
 
862
848
  ## `sf data resume`
863
849
 
@@ -894,7 +880,7 @@ EXAMPLES
894
880
  $ sf data resume --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA
895
881
  ```
896
882
 
897
- _See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.52/src/commands/data/resume.ts)_
883
+ _See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.54/src/commands/data/resume.ts)_
898
884
 
899
885
  ## `sf data search`
900
886
 
@@ -944,7 +930,7 @@ EXAMPLES
944
930
  $ sf data search --file query.txt --target-org my-scratch --result-format csv
945
931
  ```
946
932
 
947
- _See code: [src/commands/data/search.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.52/src/commands/data/search.ts)_
933
+ _See code: [src/commands/data/search.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.54/src/commands/data/search.ts)_
948
934
 
949
935
  ## `sf data update bulk`
950
936
 
@@ -952,11 +938,10 @@ Bulk update records to an org from a CSV file. Uses Bulk API 2.0.
952
938
 
953
939
  ```
954
940
  USAGE
955
- $ sf data update bulk -s <value> -o <value> [--json] [--flags-dir <value>] [-a] [-w <value>] [--api-version <value>]
941
+ $ sf data update bulk -s <value> -o <value> [--json] [--flags-dir <value>] [-w <value>] [--api-version <value>]
956
942
  (--line-ending CRLF|LF -f <value>) [--column-delimiter BACKQUOTE|CARET|COMMA|PIPE|SEMICOLON|TAB]
957
943
 
958
944
  FLAGS
959
- -a, --async Don't wait for the command to complete.
960
945
  -f, --file=<value> (required) CSV file that contains the Salesforce object records you want to update.
961
946
  -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
962
947
  configuration variable is already set.
@@ -985,9 +970,9 @@ DESCRIPTION
985
970
  contain only existing records; if a record in the file doesn't currently exist in the Salesforce object, the command
986
971
  fails. Consider using "sf data upsert bulk" if you also want to insert new records.
987
972
 
988
- Bulk updates can take a while, depending on how many records are in the CSV file. If the command times out, or you
989
- specified the --async flag, the command displays the job ID. To see the status and get the results of the job, run "sf
990
- data update resume" and pass the job ID to the --job-id flag.
973
+ Bulk updates can take a while, depending on how many records are in the CSV file. If the command times out, the
974
+ command displays the job ID. To see the status and get the results of the job, run "sf data update resume" and pass
975
+ the job ID to the --job-id flag.
991
976
 
992
977
  For information and examples about how to prepare your CSV files, see "Prepare Data to Ingest" in the "Bulk API 2.0
993
978
  and Bulk API Developer Guide"
@@ -998,14 +983,9 @@ EXAMPLES
998
983
  in 10 minutes, the command ends and displays a job ID:
999
984
 
1000
985
  $ sf data update bulk --file accounts.csv --sobject Account --wait 10 --target-org my-scratch
1001
-
1002
- Update asynchronously and use the default org; the command immediately returns a job ID that you then pass to the
1003
- "sf data update resume" command:
1004
-
1005
- $ sf data update bulk --file accounts.csv --sobject Account --async
1006
986
  ```
1007
987
 
1008
- _See code: [src/commands/data/update/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.52/src/commands/data/update/bulk.ts)_
988
+ _See code: [src/commands/data/update/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.54/src/commands/data/update/bulk.ts)_
1009
989
 
1010
990
  ## `sf data update record`
1011
991
 
@@ -1067,7 +1047,7 @@ EXAMPLES
1067
1047
  "ExpirationDate=2017-12-01T00:58:04.000+0000"
1068
1048
  ```
1069
1049
 
1070
- _See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.52/src/commands/data/update/record.ts)_
1050
+ _See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.54/src/commands/data/update/record.ts)_
1071
1051
 
1072
1052
  ## `sf data update resume`
1073
1053
 
@@ -1089,9 +1069,9 @@ GLOBAL FLAGS
1089
1069
  DESCRIPTION
1090
1070
  Resume a bulk update job that you previously started. Uses Bulk API 2.0.
1091
1071
 
1092
- When the original "sf data update bulk" command either times out or is run with the --async flag, it displays a job
1093
- ID. To see the status and get the results of the bulk update, run this command by either passing it the job ID or
1094
- using the --use-most-recent flag to specify the most recent bulk update job.
1072
+ When the original "sf data update bulk" command times out, it displays a job ID. To see the status and get the results
1073
+ of the bulk update, run this command by either passing it the job ID or using the --use-most-recent flag to specify
1074
+ the most recent bulk update job.
1095
1075
 
1096
1076
  Using either `--job-id` or `--use-most-recent` will properly resolve to the correct org where the bulk job was started
1097
1077
  based on the cached data by "data update bulk".
@@ -1106,7 +1086,7 @@ EXAMPLES
1106
1086
  $ sf data update resume --use-most-recent
1107
1087
  ```
1108
1088
 
1109
- _See code: [src/commands/data/update/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.52/src/commands/data/update/resume.ts)_
1089
+ _See code: [src/commands/data/update/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.54/src/commands/data/update/resume.ts)_
1110
1090
 
1111
1091
  ## `sf data upsert bulk`
1112
1092
 
@@ -1115,10 +1095,9 @@ Bulk upsert records to an org from a CSV file. Uses Bulk API 2.0.
1115
1095
  ```
1116
1096
  USAGE
1117
1097
  $ sf data upsert bulk -o <value> -s <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>] [-w
1118
- <value> | -a] (--line-ending CRLF|LF -f <value>) [--column-delimiter BACKQUOTE|CARET|COMMA|PIPE|SEMICOLON|TAB]
1098
+ <value>] (--line-ending CRLF|LF -f <value>) [--column-delimiter BACKQUOTE|CARET|COMMA|PIPE|SEMICOLON|TAB]
1119
1099
 
1120
1100
  FLAGS
1121
- -a, --async Run the command asynchronously.
1122
1101
  -f, --file=<value> (required) CSV file that contains the IDs of the records to update or delete.
1123
1102
  -i, --external-id=<value> (required) Name of the external ID field, or the Id field.
1124
1103
  -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
@@ -1163,7 +1142,7 @@ EXAMPLES
1163
1142
  my-scratch
1164
1143
  ```
1165
1144
 
1166
- _See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.52/src/commands/data/upsert/bulk.ts)_
1145
+ _See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.54/src/commands/data/upsert/bulk.ts)_
1167
1146
 
1168
1147
  ## `sf data upsert resume`
1169
1148
 
@@ -1202,7 +1181,7 @@ EXAMPLES
1202
1181
  $ sf data upsert resume --use-most-recent --target-org my-scratch
1203
1182
  ```
1204
1183
 
1205
- _See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.52/src/commands/data/upsert/resume.ts)_
1184
+ _See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.54/src/commands/data/upsert/resume.ts)_
1206
1185
 
1207
1186
  ## `sf force data bulk delete`
1208
1187
 
@@ -1249,7 +1228,7 @@ EXAMPLES
1249
1228
  $ sf force data bulk delete --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
1250
1229
  ```
1251
1230
 
1252
- _See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.52/src/commands/force/data/bulk/delete.ts)_
1231
+ _See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.54/src/commands/force/data/bulk/delete.ts)_
1253
1232
 
1254
1233
  ## `sf force data bulk status`
1255
1234
 
@@ -1286,7 +1265,7 @@ EXAMPLES
1286
1265
  $ sf force data bulk status --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA --target-org my-scratch
1287
1266
  ```
1288
1267
 
1289
- _See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.52/src/commands/force/data/bulk/status.ts)_
1268
+ _See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.54/src/commands/force/data/bulk/status.ts)_
1290
1269
 
1291
1270
  ## `sf force data bulk upsert`
1292
1271
 
@@ -1344,6 +1323,6 @@ EXAMPLES
1344
1323
  --target-org my-scratch
1345
1324
  ```
1346
1325
 
1347
- _See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.52/src/commands/force/data/bulk/upsert.ts)_
1326
+ _See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.54/src/commands/force/data/bulk/upsert.ts)_
1348
1327
 
1349
1328
  <!-- commandsstop -->
package/lib/bulkIngest.js CHANGED
@@ -23,14 +23,13 @@ const messages = Messages.loadMessages('@salesforce/plugin-data', 'bulkIngest');
23
23
  *
24
24
  * It will create the specified bulk ingest job, set up the oclif/MSO stages and return the job info.
25
25
  * */
26
- // eslint-disable-next-line complexity
27
26
  export async function bulkIngest(opts) {
28
27
  const { conn, operation, object, lineEnding = platform() === 'win32' ? 'CRLF' : 'LF', file, logFn } = opts;
29
28
  // validation
30
29
  if (opts.externalId && opts.operation !== 'upsert') {
31
30
  throw new SfError('External ID is only required for `sf data upsert bulk`.');
32
31
  }
33
- const timeout = opts.async ? Duration.minutes(0) : opts.wait ?? Duration.minutes(0);
32
+ const timeout = opts.wait ?? Duration.minutes(0);
34
33
  const async = timeout.milliseconds === 0;
35
34
  // CSV file for `delete/HardDelete` operations only have 1 column (ID), we set it to `COMMA` if not specified but any delimiter works.
36
35
  const columnDelimiter = opts.columnDelimiter ?? (['delete', 'hardDelete'].includes(operation) ? 'COMMA' : await detectDelimiter(file));
@@ -85,7 +84,12 @@ export async function bulkIngest(opts) {
85
84
  }
86
85
  if (jobInfo.numberRecordsFailed) {
87
86
  stages.error();
88
- throw messages.createError('error.failedRecordDetails', [jobInfo.numberRecordsFailed], [conn.getUsername(), job.id, conn.getUsername(), job.id]);
87
+ const err = messages.createError('error.failedRecordDetails', [jobInfo.numberRecordsFailed], [conn.getUsername(), job.id, conn.getUsername(), job.id]);
88
+ err.setData({
89
+ jobId: jobInfo.id,
90
+ state: jobInfo.state,
91
+ });
92
+ throw err;
89
93
  }
90
94
  stages.stop();
91
95
  return {
@@ -155,7 +159,12 @@ export async function bulkIngestResume(opts) {
155
159
  failedRecords: jobInfo.numberRecordsFailed,
156
160
  };
157
161
  }
158
- throw messages.createError('error.failedRecordDetails', [jobInfo.numberRecordsFailed], [conn.getUsername(), job.id, conn.getUsername(), job.id]);
162
+ const err = messages.createError('error.failedRecordDetails', [jobInfo.numberRecordsFailed], [conn.getUsername(), job.id, conn.getUsername(), job.id]);
163
+ err.setData({
164
+ jobId: jobInfo.id,
165
+ state: jobInfo.state,
166
+ });
167
+ throw err;
159
168
  }
160
169
  stages.stop();
161
170
  return {
@@ -216,7 +225,7 @@ export const lineEndingFlag = Flags.option({
216
225
  options: ['CRLF', 'LF'],
217
226
  })();
218
227
  /**
219
- * Use only for commands that maintain sfdx compatibility.
228
+ * Use only for commands that maintain sfdx compatibility.1
220
229
  *
221
230
  * @deprecated
222
231
  */
@@ -243,13 +252,6 @@ export const baseUpsertDeleteFlags = {
243
252
  summary: messages.getMessage('flags.wait.summary'),
244
253
  min: 0,
245
254
  defaultValue: 0,
246
- exclusive: ['async'],
247
- }),
248
- async: Flags.boolean({
249
- char: 'a',
250
- summary: messages.getMessage('flags.async.summary'),
251
- exclusive: ['wait'],
252
- deprecated: true,
253
255
  }),
254
256
  };
255
257
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"bulkIngest.js","sourceRoot":"","sources":["../src/bulkIngest.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,KAAK,EAAa,+BAA+B,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAE1G,OAAO,EAAc,QAAQ,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEjE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD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B,gBAAgB,EAAE,IAAI;KACvB,CAAC;IACF,iBAAiB,EAAE,KAAK,CAAC,OAAO,CAAC;QAC/B,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,6BAA6B,CAAC;QAC3D,uDAAuD;QACvD,OAAO,EAAE,IAAI;QACb,SAAS,EAAE,CAAC,QAAQ,CAAC;KACtB,CAAC;IACF,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC;QACnB,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC;QAClD,IAAI,EAAE,SAAS;QACf,GAAG,EAAE,CAAC;QACN,YAAY,EAAE,CAAC;KAChB,CAAC;IACF,aAAa,EAAE,KAAK,CAAC,aAAa,EAAE;IACpC,QAAQ;CACT,CAAC"}
@@ -35,7 +35,6 @@ export default class Delete extends SfCommand {
35
35
  columnDelimiter: undefined,
36
36
  conn: flags['target-org'].getConnection(flags['api-version']),
37
37
  cache: await BulkDeleteRequestCache.create(),
38
- async: flags.async,
39
38
  wait: flags.wait,
40
39
  file: flags.file,
41
40
  jsonEnabled: this.jsonEnabled(),
@@ -1 +1 @@
1
- {"version":3,"file":"bulk.js","sourceRoot":"","sources":["../../../../src/commands/data/delete/bulk.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,qBAAqB,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAC3F,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAE1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,yBAAyB,EAAE,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AAY,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;YAC7D,KAAK,EAAE,MAAM,sBAAsB,CAAC,MAAM,EAAE;YAC5C,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE;YAC/B,KAAK,EAAE,CAAC,GAAW,EAAE,EAAE;gBACrB,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAChB,CAAC;YACD,MAAM,EAAE,CAAC,GAAsB,EAAE,EAAE;gBACjC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YACjB,CAAC;SACF,CAAC,CAAC;QAEH,MAAM,GAAG,GAAG,KAAK,CAAC,YAAY,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE;YACtF,EAAE,EAAE,GAAG,CAAC,KAAK;SACd,CAAC,CAAC;QAEH,IAAI,GAAG,CAAC,aAAa,IAAI,GAAG,CAAC,aAAa,GAAG,CAAC,EAAE,CAAC;YAC/C,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;QACvB,CAAC;QAED,MAAM,OAAO,GAAG,MAAM,GAAG,CAAC,KAAK,EAAE,CAAC;QAElC,OAAO;YACL,OAAO;YACP,OAAO,EACL,OAAO,CAAC,KAAK,KAAK,aAAa;gBAC7B,CAAC,CAAC,gBAAgB,CAAC,MAAM,GAAG,CAAC,aAAa,EAAE,CAAC;gBAC7C,CAAC,CAAC;oBACE,iBAAiB,EAAE,EAAE;oBACrB,aAAa,EAAE,EAAE;oBACjB,kBAAkB,EAAE,EAAE;iBACvB;SACR,CAAC;IACJ,CAAC"}
@@ -28,12 +28,6 @@ export default class DataExportBulk extends SfCommand {
28
28
  char: 'w',
29
29
  helpValue: '<minutes>',
30
30
  unit: 'minutes',
31
- exclusive: ['async'],
32
- }),
33
- async: Flags.boolean({
34
- summary: messages.getMessage('flags.async.summary'),
35
- exclusive: ['wait'],
36
- deprecated: true,
37
31
  }),
38
32
  query: Flags.string({
39
33
  summary: messages.getMessage('flags.query.summary'),
@@ -95,7 +89,7 @@ export default class DataExportBulk extends SfCommand {
95
89
  async run() {
96
90
  const { flags } = await this.parse(DataExportBulk);
97
91
  const conn = flags['target-org'].getConnection(flags['api-version']);
98
- const timeout = flags.async ? Duration.minutes(0) : flags.wait ?? Duration.minutes(0);
92
+ const timeout = flags.wait ?? Duration.minutes(0);
99
93
  // `flags['query-file']` will be present if `flags.query` isn't. oclif's `exclusive` isn't quite that clever
100
94
  const soqlQuery = flags.query ?? fs.readFileSync(flags['query-file'], 'utf8');
101
95
  const lineEnding = flags['line-ending'] ?? platform() === 'win32' ? 'CRLF' : 'LF';
@@ -1 +1 @@
1
- {"version":3,"file":"bulk.js","sourceRoot":"","sources":["../../../../src/commands/data/export/bulk.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,YAAY,MAAM,eAAe,CAAC;AACzC,OAAO,EAAkB,UAAU,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QA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AAM,EAAE,KAAK,CAAC,eAAe,CAAC;gBAC9B,eAAe;aAChB,CAAC,CAAC;YAEH,EAAE,CAAC,IAAI,EAAE,CAAC;YAEV,IAAI,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,sBAAsB,uBAAuB,KAAK,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC;YAEzF,OAAO;gBACL,SAAS,EAAE,OAAO,CAAC,sBAAsB;gBACzC,QAAQ,EAAE,KAAK,CAAC,aAAa,CAAC;aAC/B,CAAC;QACJ,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YAClB,MAAM,GAAG,CAAC;QACZ,CAAC;IACH,CAAC"}
@@ -15,12 +15,6 @@ export default class DataImportBulk extends SfCommand {
15
15
  static description = messages.getMessage('description');
16
16
  static examples = messages.getMessages('examples');
17
17
  static flags = {
18
- async: Flags.boolean({
19
- summary: messages.getMessage('flags.async.summary'),
20
- char: 'a',
21
- exclusive: ['wait'],
22
- deprecated: true,
23
- }),
24
18
  file: Flags.file({
25
19
  summary: messages.getMessage('flags.file.summary'),
26
20
  char: 'f',
@@ -37,7 +31,6 @@ export default class DataImportBulk extends SfCommand {
37
31
  summary: messages.getMessage('flags.wait.summary'),
38
32
  char: 'w',
39
33
  unit: 'minutes',
40
- exclusive: ['async'],
41
34
  }),
42
35
  'target-org': Flags.requiredOrg(),
43
36
  'line-ending': Flags.option({
@@ -58,7 +51,6 @@ export default class DataImportBulk extends SfCommand {
58
51
  columnDelimiter: flags['column-delimiter'],
59
52
  conn: flags['target-org'].getConnection(flags['api-version']),
60
53
  cache: await BulkImportRequestCache.create(),
61
- async: flags.async,
62
54
  wait: flags.wait,
63
55
  file: flags.file,
64
56
  jsonEnabled: this.jsonEnabled(),
@@ -1 +1 @@
1
- {"version":3,"file":"bulk.js","sourceRoot":"","sources":["../../../../src/commands/data/import/bulk.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH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ChB,CAAC;YACD,MAAM,EAAE,CAAC,GAAsB,EAAE,EAAE;gBACjC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YACjB,CAAC;SACF,CAAC,CAAC;IACL,CAAC"}
@@ -15,11 +15,6 @@ export default class DataUpdateBulk extends SfCommand {
15
15
  static description = messages.getMessage('description');
16
16
  static examples = messages.getMessages('examples');
17
17
  static flags = {
18
- async: Flags.boolean({
19
- summary: messages.getMessage('flags.async.summary'),
20
- char: 'a',
21
- deprecated: true,
22
- }),
23
18
  wait: Flags.duration({
24
19
  summary: messages.getMessage('flags.wait.summary'),
25
20
  char: 'w',
@@ -52,7 +47,6 @@ export default class DataUpdateBulk extends SfCommand {
52
47
  columnDelimiter: flags['column-delimiter'],
53
48
  conn: flags['target-org'].getConnection(flags['api-version']),
54
49
  cache: await BulkUpdateRequestCache.create(),
55
- async: flags.async,
56
50
  wait: flags.wait,
57
51
  file: flags.file,
58
52
  jsonEnabled: this.jsonEnabled(),
@@ -1 +1 @@
1
- {"version":3,"file":"bulk.js","sourceRoot":"","sources":["../../../../src/commands/data/update/bulk.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACzF,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAE1E,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAAC;AAStF,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,SAA+B;IAClE,MAAM,CAAU,OAAO,GAAG,QAAQ,CAAC,UAAU,C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,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;YAC7D,KAAK,EAAE,MAAM,sBAAsB,CAAC,MAAM,EAAE;YAC5C,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE;YAC/B,KAAK,EAAE,CAAC,GAAW,EAAE,EAAE;gBACrB,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAChB,CAAC;YACD,MAAM,EAAE,CAAC,GAAsB,EAAE,EAAE;gBACjC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YACjB,CAAC;SACF,CAAC,CAAC;IACL,CAAC"}
@@ -39,7 +39,6 @@ export default class Upsert extends SfCommand {
39
39
  externalId: flags['external-id'],
40
40
  conn: flags['target-org'].getConnection(flags['api-version']),
41
41
  cache: await BulkUpsertRequestCache.create(),
42
- async: flags.async,
43
42
  wait: flags.wait,
44
43
  file: flags.file,
45
44
  jsonEnabled: this.jsonEnabled(),
@@ -1 +1 @@
1
- {"version":3,"file":"bulk.js","sourceRoot":"","sources":["../../../../src/commands/data/upsert/bulk.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,qBAAqB,EAAE,UAAU,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAEhH,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,yBAAyB,EA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AAC"}
@@ -6,9 +6,9 @@ Bulk export records from an org into a file using a SOQL query. Uses Bulk API 2.
6
6
 
7
7
  You can use this command to export millions of records from an org, either to migrate data or to back it up.
8
8
 
9
- Use a SOQL query to specify the fields of a standard or custom object that you want to export. Specify the SOQL query either at the command line with the --query flag or read it from a file with the --query-file flag; you can't specify both flags. The --output-file flag is required, which means you can only write the records to a file, in either CSV or JSON format.
9
+ Use a SOQL query to specify the fields of a standard or custom object that you want to export. Specify the SOQL query either at the command line with the --query flag or read it from a file with the --query-file flag; you can't specify both flags. The --output-file flag is required, which means you can only write the records to a file, in either CSV or JSON format.
10
10
 
11
- Bulk exports can take a while, depending on how many records are returned by the SOQL query. If the command times out, or you specified the --async flag, the command displays the job ID. To see the status and get the results of the job, run "sf data export resume" and pass the job ID to the --job-id flag.
11
+ Bulk exports can take a while, depending on how many records are returned by the SOQL query. If the command times out, the command displays the job ID. To see the status and get the results of the job, run "sf data export resume" and pass the job ID to the --job-id flag.
12
12
 
13
13
  IMPORTANT: This command uses Bulk API 2.0, which limits the type of SOQL queries you can run. For example, you can't use aggregate functions such as count(). For the complete list of limitations, see the "SOQL Considerations" section in the "Bulk API 2.0 and Bulk API Developer Guide" (https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/queries.htm).
14
14
 
@@ -22,10 +22,6 @@ IMPORTANT: This command uses Bulk API 2.0, which limits the type of SOQL queries
22
22
 
23
23
  <%= config.bin %> <%= command.id %> --query "SELECT Id, Name, Account.Name FROM Contact" --output-file export-accounts.json --result-format json --wait 10 --all-rows
24
24
 
25
- - Export asynchronously; the command immediately returns a job ID that you then pass to the "sf data export resume" command:
26
-
27
- <%= config.bin %> <%= command.id %> --query "SELECT Id, Name, Account.Name FROM Contact" --output-file export-accounts.json --result-format json --async
28
-
29
25
  # flags.wait.summary
30
26
 
31
27
  Time to wait for the command to finish, in minutes.
@@ -4,7 +4,7 @@ Resume a bulk export job that you previously started. Uses Bulk API 2.0.
4
4
 
5
5
  # description
6
6
 
7
- When the original "data export bulk" command either times out or is run with the --async flag, it displays a job ID. To see the status and get the results of the bulk export, run this command by either passing it the job ID or using the --use-most-recent flag to specify the most recent bulk export job.
7
+ When the original "data export bulk" command times out, it displays a job ID. To see the status and get the results of the bulk export, run this command by either passing it the job ID or using the --use-most-recent flag to specify the most recent bulk export job.
8
8
 
9
9
  Using either `--job-id` or `--use-most-recent` will properly resolve to the correct org where the bulk job was started based on the cached data by "data export bulk".
10
10
 
@@ -8,7 +8,7 @@ You can use this command to import millions of records into the object from a fi
8
8
 
9
9
  All the records in the CSV file must be for the same Salesforce object. Specify the object with the `--sobject` flag.
10
10
 
11
- Bulk imports can take a while, depending on how many records are in the CSV file. If the command times out, or you specified the --async flag, the command displays the job ID. To see the status and get the results of the job, run "sf data import resume" and pass the job ID to the --job-id flag.
11
+ Bulk imports can take a while, depending on how many records are in the CSV file. If the command times out, the command displays the job ID. To see the status and get the results of the job, run "sf data import resume" and pass the job ID to the --job-id flag.
12
12
 
13
13
  For information and examples about how to prepare your CSV files, see "Prepare Data to Ingest" in the "Bulk API 2.0 and Bulk API Developer Guide" (https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/datafiles_prepare_data.htm).
14
14
 
@@ -18,10 +18,6 @@ For information and examples about how to prepare your CSV files, see "Prepare D
18
18
 
19
19
  <%= config.bin %> <%= command.id %> --file accounts.csv --sobject Account --wait 10 --target-org my-scratch
20
20
 
21
- - Import asynchronously and use the default org; the command immediately returns a job ID that you then pass to the "sf data import resume" command:
22
-
23
- <%= config.bin %> <%= command.id %> --file accounts.csv --sobject Account --async
24
-
25
21
  # flags.async.summary
26
22
 
27
23
  Don't wait for the command to complete.
@@ -4,7 +4,7 @@ Resume a bulk import job that you previously started. Uses Bulk API 2.0.
4
4
 
5
5
  # description
6
6
 
7
- When the original "sf data import bulk" command either times out or is run with the --async flag, it displays a job ID. To see the status and get the results of the bulk import, run this command by either passing it the job ID or using the --use-most-recent flag to specify the most recent bulk import job.
7
+ When the original "sf data import bulk" command times out, it displays a job ID. To see the status and get the results of the bulk import, run this command by either passing it the job ID or using the --use-most-recent flag to specify the most recent bulk import job.
8
8
 
9
9
  # examples
10
10
 
@@ -8,7 +8,7 @@ You can use this command to update millions of Salesforce object records based o
8
8
 
9
9
  All the records in the CSV file must be for the same Salesforce object. Specify the object with the `--sobject` flag. The first column of every line in the CSV file must be an ID of the record you want to update. The CSV file can contain only existing records; if a record in the file doesn't currently exist in the Salesforce object, the command fails. Consider using "sf data upsert bulk" if you also want to insert new records.
10
10
 
11
- Bulk updates can take a while, depending on how many records are in the CSV file. If the command times out, or you specified the --async flag, the command displays the job ID. To see the status and get the results of the job, run "sf data update resume" and pass the job ID to the --job-id flag.
11
+ Bulk updates can take a while, depending on how many records are in the CSV file. If the command times out, the command displays the job ID. To see the status and get the results of the job, run "sf data update resume" and pass the job ID to the --job-id flag.
12
12
 
13
13
  For information and examples about how to prepare your CSV files, see "Prepare Data to Ingest" in the "Bulk API 2.0 and Bulk API Developer Guide" (https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/datafiles_prepare_data.htm).
14
14
 
@@ -18,10 +18,6 @@ For information and examples about how to prepare your CSV files, see "Prepare D
18
18
 
19
19
  <%= config.bin %> <%= command.id %> --file accounts.csv --sobject Account --wait 10 --target-org my-scratch
20
20
 
21
- - Update asynchronously and use the default org; the command immediately returns a job ID that you then pass to the "sf data update resume" command:
22
-
23
- <%= config.bin %> <%= command.id %> --file accounts.csv --sobject Account --async
24
-
25
21
  # flags.async.summary
26
22
 
27
23
  Don't wait for the command to complete.
@@ -4,7 +4,7 @@ Resume a bulk update job that you previously started. Uses Bulk API 2.0.
4
4
 
5
5
  # description
6
6
 
7
- When the original "sf data update bulk" command either times out or is run with the --async flag, it displays a job ID. To see the status and get the results of the bulk update, run this command by either passing it the job ID or using the --use-most-recent flag to specify the most recent bulk update job.
7
+ When the original "sf data update bulk" command times out, it displays a job ID. To see the status and get the results of the bulk update, run this command by either passing it the job ID or using the --use-most-recent flag to specify the most recent bulk update job.
8
8
 
9
9
  Using either `--job-id` or `--use-most-recent` will properly resolve to the correct org where the bulk job was started based on the cached data by "data update bulk".
10
10
 
@@ -823,9 +823,6 @@
823
823
  },
824
824
  "wait": {
825
825
  "char": "w",
826
- "exclusive": [
827
- "async"
828
- ],
829
826
  "name": "wait",
830
827
  "summary": "Number of minutes to wait for the command to complete before displaying the results.",
831
828
  "default": "0 minutes",
@@ -833,17 +830,6 @@
833
830
  "multiple": false,
834
831
  "type": "option"
835
832
  },
836
- "async": {
837
- "char": "a",
838
- "deprecated": true,
839
- "exclusive": [
840
- "wait"
841
- ],
842
- "name": "async",
843
- "summary": "Run the command asynchronously.",
844
- "allowNo": false,
845
- "type": "boolean"
846
- },
847
833
  "line-ending": {
848
834
  "dependsOn": [
849
835
  "file"
@@ -1182,11 +1168,10 @@
1182
1168
  "data:export:bulk": {
1183
1169
  "aliases": [],
1184
1170
  "args": {},
1185
- "description": "You can use this command to export millions of records from an org, either to migrate data or to back it up.\n\nUse a SOQL query to specify the fields of a standard or custom object that you want to export. Specify the SOQL query either at the command line with the --query flag or read it from a file with the --query-file flag; you can't specify both flags. The --output-file flag is required, which means you can only write the records to a file, in either CSV or JSON format. \n\nBulk exports can take a while, depending on how many records are returned by the SOQL query. If the command times out, or you specified the --async flag, the command displays the job ID. To see the status and get the results of the job, run \"sf data export resume\" and pass the job ID to the --job-id flag.\n\nIMPORTANT: This command uses Bulk API 2.0, which limits the type of SOQL queries you can run. For example, you can't use aggregate functions such as count(). For the complete list of limitations, see the \"SOQL Considerations\" section in the \"Bulk API 2.0 and Bulk API Developer Guide\" (https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/queries.htm).",
1171
+ "description": "You can use this command to export millions of records from an org, either to migrate data or to back it up.\n\nUse a SOQL query to specify the fields of a standard or custom object that you want to export. Specify the SOQL query either at the command line with the --query flag or read it from a file with the --query-file flag; you can't specify both flags. The --output-file flag is required, which means you can only write the records to a file, in either CSV or JSON format.\n\nBulk exports can take a while, depending on how many records are returned by the SOQL query. If the command times out, the command displays the job ID. To see the status and get the results of the job, run \"sf data export resume\" and pass the job ID to the --job-id flag.\n\nIMPORTANT: This command uses Bulk API 2.0, which limits the type of SOQL queries you can run. For example, you can't use aggregate functions such as count(). For the complete list of limitations, see the \"SOQL Considerations\" section in the \"Bulk API 2.0 and Bulk API Developer Guide\" (https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/queries.htm).",
1186
1172
  "examples": [
1187
1173
  "Export the Id, Name, and Account.Name fields of the Contact object into a CSV-formatted file; if the export doesn't complete in 10 minutes, the command ends and displays a job ID. Use the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --query \"SELECT Id, Name, Account.Name FROM Contact\" --output-file export-accounts.csv --wait 10 --target-org my-scratch",
1188
- "Similar to previous example, but use the default org, export the records into a JSON-formatted file, and include records that have been soft deleted:\n<%= config.bin %> <%= command.id %> --query \"SELECT Id, Name, Account.Name FROM Contact\" --output-file export-accounts.json --result-format json --wait 10 --all-rows",
1189
- "Export asynchronously; the command immediately returns a job ID that you then pass to the \"sf data export resume\" command:\n<%= config.bin %> <%= command.id %> --query \"SELECT Id, Name, Account.Name FROM Contact\" --output-file export-accounts.json --result-format json --async"
1174
+ "Similar to previous example, but use the default org, export the records into a JSON-formatted file, and include records that have been soft deleted:\n<%= config.bin %> <%= command.id %> --query \"SELECT Id, Name, Account.Name FROM Contact\" --output-file export-accounts.json --result-format json --wait 10 --all-rows"
1190
1175
  ],
1191
1176
  "flags": {
1192
1177
  "json": {
@@ -1223,9 +1208,6 @@
1223
1208
  },
1224
1209
  "wait": {
1225
1210
  "char": "w",
1226
- "exclusive": [
1227
- "async"
1228
- ],
1229
1211
  "name": "wait",
1230
1212
  "summary": "Time to wait for the command to finish, in minutes.",
1231
1213
  "hasDynamicHelp": true,
@@ -1233,16 +1215,6 @@
1233
1215
  "multiple": false,
1234
1216
  "type": "option"
1235
1217
  },
1236
- "async": {
1237
- "deprecated": true,
1238
- "exclusive": [
1239
- "wait"
1240
- ],
1241
- "name": "async",
1242
- "summary": "Don't wait for the job to complete.",
1243
- "allowNo": false,
1244
- "type": "boolean"
1245
- },
1246
1218
  "query": {
1247
1219
  "char": "q",
1248
1220
  "exclusive": [
@@ -1369,7 +1341,7 @@
1369
1341
  "data:export:resume": {
1370
1342
  "aliases": [],
1371
1343
  "args": {},
1372
- "description": "When the original \"data export bulk\" command either times out or is run with the --async flag, it displays a job ID. To see the status and get the results of the bulk export, run this command by either passing it the job ID or using the --use-most-recent flag to specify the most recent bulk export job.\n\nUsing either `--job-id` or `--use-most-recent` will properly resolve to the correct org where the bulk job was started based on the cached data by \"data export bulk\".",
1344
+ "description": "When the original \"data export bulk\" command times out, it displays a job ID. To see the status and get the results of the bulk export, run this command by either passing it the job ID or using the --use-most-recent flag to specify the most recent bulk export job.\n\nUsing either `--job-id` or `--use-most-recent` will properly resolve to the correct org where the bulk job was started based on the cached data by \"data export bulk\".",
1373
1345
  "examples": [
1374
1346
  "Resume a bulk export job run by specifying a job ID:\nsf <%= command.id %> --job-id 750xx000000005sAAA",
1375
1347
  "Resume the most recently-run bulk export job:\nsf data export resume --use-most-recent"
@@ -1768,10 +1740,9 @@
1768
1740
  "data:import:bulk": {
1769
1741
  "aliases": [],
1770
1742
  "args": {},
1771
- "description": "You can use this command to import millions of records into the object from a file in comma-separated values (CSV) format.\n\nAll the records in the CSV file must be for the same Salesforce object. Specify the object with the `--sobject` flag.\n\nBulk imports can take a while, depending on how many records are in the CSV file. If the command times out, or you specified the --async flag, the command displays the job ID. To see the status and get the results of the job, run \"sf data import resume\" and pass the job ID to the --job-id flag.\n\nFor information and examples about how to prepare your CSV files, see \"Prepare Data to Ingest\" in the \"Bulk API 2.0 and Bulk API Developer Guide\" (https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/datafiles_prepare_data.htm).",
1743
+ "description": "You can use this command to import millions of records into the object from a file in comma-separated values (CSV) format.\n\nAll the records in the CSV file must be for the same Salesforce object. Specify the object with the `--sobject` flag.\n\nBulk imports can take a while, depending on how many records are in the CSV file. If the command times out, the command displays the job ID. To see the status and get the results of the job, run \"sf data import resume\" and pass the job ID to the --job-id flag.\n\nFor information and examples about how to prepare your CSV files, see \"Prepare Data to Ingest\" in the \"Bulk API 2.0 and Bulk API Developer Guide\" (https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/datafiles_prepare_data.htm).",
1772
1744
  "examples": [
1773
- "Import Account records from a CSV-formatted file into an org with alias \"my-scratch\"; if the import doesn't complete in 10 minutes, the command ends and displays a job ID:\n<%= config.bin %> <%= command.id %> --file accounts.csv --sobject Account --wait 10 --target-org my-scratch",
1774
- "Import asynchronously and use the default org; the command immediately returns a job ID that you then pass to the \"sf data import resume\" command:\n<%= config.bin %> <%= command.id %> --file accounts.csv --sobject Account --async"
1745
+ "Import Account records from a CSV-formatted file into an org with alias \"my-scratch\"; if the import doesn't complete in 10 minutes, the command ends and displays a job ID:\n<%= config.bin %> <%= command.id %> --file accounts.csv --sobject Account --wait 10 --target-org my-scratch"
1775
1746
  ],
1776
1747
  "flags": {
1777
1748
  "json": {
@@ -1789,17 +1760,6 @@
1789
1760
  "multiple": false,
1790
1761
  "type": "option"
1791
1762
  },
1792
- "async": {
1793
- "char": "a",
1794
- "deprecated": true,
1795
- "exclusive": [
1796
- "wait"
1797
- ],
1798
- "name": "async",
1799
- "summary": "Don't wait for the command to complete.",
1800
- "allowNo": false,
1801
- "type": "boolean"
1802
- },
1803
1763
  "file": {
1804
1764
  "char": "f",
1805
1765
  "name": "file",
@@ -1827,9 +1787,6 @@
1827
1787
  },
1828
1788
  "wait": {
1829
1789
  "char": "w",
1830
- "exclusive": [
1831
- "async"
1832
- ],
1833
1790
  "name": "wait",
1834
1791
  "summary": "Time to wait for the command to finish, in minutes.",
1835
1792
  "hasDynamicHelp": true,
@@ -1906,7 +1863,7 @@
1906
1863
  "data:import:resume": {
1907
1864
  "aliases": [],
1908
1865
  "args": {},
1909
- "description": "When the original \"sf data import bulk\" command either times out or is run with the --async flag, it displays a job ID. To see the status and get the results of the bulk import, run this command by either passing it the job ID or using the --use-most-recent flag to specify the most recent bulk import job.",
1866
+ "description": "When the original \"sf data import bulk\" command times out, it displays a job ID. To see the status and get the results of the bulk import, run this command by either passing it the job ID or using the --use-most-recent flag to specify the most recent bulk import job.",
1910
1867
  "examples": [
1911
1868
  "Resume a bulk import job to your default org using an ID:\n<%= config.bin %> <%= command.id %> --job-id 750xx000000005sAAA",
1912
1869
  "Resume the most recently run bulk import job for an org with alias my-scratch:\n<%= config.bin %> <%= command.id %> --use-most-recent --target-org my-scratch"
@@ -2119,10 +2076,9 @@
2119
2076
  "data:update:bulk": {
2120
2077
  "aliases": [],
2121
2078
  "args": {},
2122
- "description": "You can use this command to update millions of Salesforce object records based on a file in comma-separated values (CSV) format.\n\nAll the records in the CSV file must be for the same Salesforce object. Specify the object with the `--sobject` flag. The first column of every line in the CSV file must be an ID of the record you want to update. The CSV file can contain only existing records; if a record in the file doesn't currently exist in the Salesforce object, the command fails. Consider using \"sf data upsert bulk\" if you also want to insert new records.\n\nBulk updates can take a while, depending on how many records are in the CSV file. If the command times out, or you specified the --async flag, the command displays the job ID. To see the status and get the results of the job, run \"sf data update resume\" and pass the job ID to the --job-id flag.\n\nFor information and examples about how to prepare your CSV files, see \"Prepare Data to Ingest\" in the \"Bulk API 2.0 and Bulk API Developer Guide\" (https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/datafiles_prepare_data.htm).",
2079
+ "description": "You can use this command to update millions of Salesforce object records based on a file in comma-separated values (CSV) format.\n\nAll the records in the CSV file must be for the same Salesforce object. Specify the object with the `--sobject` flag. The first column of every line in the CSV file must be an ID of the record you want to update. The CSV file can contain only existing records; if a record in the file doesn't currently exist in the Salesforce object, the command fails. Consider using \"sf data upsert bulk\" if you also want to insert new records.\n\nBulk updates can take a while, depending on how many records are in the CSV file. If the command times out, the command displays the job ID. To see the status and get the results of the job, run \"sf data update resume\" and pass the job ID to the --job-id flag.\n\nFor information and examples about how to prepare your CSV files, see \"Prepare Data to Ingest\" in the \"Bulk API 2.0 and Bulk API Developer Guide\" (https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/datafiles_prepare_data.htm).",
2123
2080
  "examples": [
2124
- "Update Account records from a CSV-formatted file into an org with alias \"my-scratch\"; if the update doesn't complete in 10 minutes, the command ends and displays a job ID:\n<%= config.bin %> <%= command.id %> --file accounts.csv --sobject Account --wait 10 --target-org my-scratch",
2125
- "Update asynchronously and use the default org; the command immediately returns a job ID that you then pass to the \"sf data update resume\" command:\n<%= config.bin %> <%= command.id %> --file accounts.csv --sobject Account --async"
2081
+ "Update Account records from a CSV-formatted file into an org with alias \"my-scratch\"; if the update doesn't complete in 10 minutes, the command ends and displays a job ID:\n<%= config.bin %> <%= command.id %> --file accounts.csv --sobject Account --wait 10 --target-org my-scratch"
2126
2082
  ],
2127
2083
  "flags": {
2128
2084
  "json": {
@@ -2140,14 +2096,6 @@
2140
2096
  "multiple": false,
2141
2097
  "type": "option"
2142
2098
  },
2143
- "async": {
2144
- "char": "a",
2145
- "deprecated": true,
2146
- "name": "async",
2147
- "summary": "Don't wait for the command to complete.",
2148
- "allowNo": false,
2149
- "type": "boolean"
2150
- },
2151
2099
  "wait": {
2152
2100
  "char": "w",
2153
2101
  "name": "wait",
@@ -2432,7 +2380,7 @@
2432
2380
  "data:update:resume": {
2433
2381
  "aliases": [],
2434
2382
  "args": {},
2435
- "description": "When the original \"sf data update bulk\" command either times out or is run with the --async flag, it displays a job ID. To see the status and get the results of the bulk update, run this command by either passing it the job ID or using the --use-most-recent flag to specify the most recent bulk update job.\n\nUsing either `--job-id` or `--use-most-recent` will properly resolve to the correct org where the bulk job was started based on the cached data by \"data update bulk\".",
2383
+ "description": "When the original \"sf data update bulk\" command times out, it displays a job ID. To see the status and get the results of the bulk update, run this command by either passing it the job ID or using the --use-most-recent flag to specify the most recent bulk update job.\n\nUsing either `--job-id` or `--use-most-recent` will properly resolve to the correct org where the bulk job was started based on the cached data by \"data update bulk\".",
2436
2384
  "examples": [
2437
2385
  "Resume a bulk update job using a job ID:\n<%= config.bin %> <%= command.id %> --job-id 750xx000000005sAAA",
2438
2386
  "Resume the most recently run bulk update job:\n<%= config.bin %> <%= command.id %> --use-most-recent"
@@ -2592,9 +2540,6 @@
2592
2540
  },
2593
2541
  "wait": {
2594
2542
  "char": "w",
2595
- "exclusive": [
2596
- "async"
2597
- ],
2598
2543
  "name": "wait",
2599
2544
  "summary": "Number of minutes to wait for the command to complete before displaying the results.",
2600
2545
  "default": "0 minutes",
@@ -2602,17 +2547,6 @@
2602
2547
  "multiple": false,
2603
2548
  "type": "option"
2604
2549
  },
2605
- "async": {
2606
- "char": "a",
2607
- "deprecated": true,
2608
- "exclusive": [
2609
- "wait"
2610
- ],
2611
- "name": "async",
2612
- "summary": "Run the command asynchronously.",
2613
- "allowNo": false,
2614
- "type": "boolean"
2615
- },
2616
2550
  "line-ending": {
2617
2551
  "dependsOn": [
2618
2552
  "file"
@@ -3232,5 +3166,5 @@
3232
3166
  ]
3233
3167
  }
3234
3168
  },
3235
- "version": "4.0.52"
3169
+ "version": "4.0.54"
3236
3170
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-data",
3
- "version": "4.0.52",
3
+ "version": "4.0.54",
4
4
  "description": "Plugin for salesforce data commands",
5
5
  "author": "Salesforce",
6
6
  "homepage": "https://github.com/salesforcecli/plugin-data",
@@ -109,6 +109,7 @@
109
109
  "test:nuts:bulk:export": "nyc mocha \"./test/commands/data/export/*.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 20",
110
110
  "test:nuts:bulk:import": "nyc mocha \"./test/commands/data/import/*.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 20",
111
111
  "test:nuts:bulk:update": "nyc mocha \"./test/commands/data/update/*.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 20",
112
+ "test:nuts:bulk:results": "nyc mocha \"./test/commands/data/bulk/*.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 20",
112
113
  "test:nuts:data:bulk-upsert-delete": "nyc mocha \"./test/commands/data/dataBulk.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 20",
113
114
  "test:nuts:data:create": "nyc mocha \"./test/commands/data/create/*.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 20",
114
115
  "test:nuts:data:query": "nyc mocha \"./test/commands/data/query/*.nut.ts\" --slow 4500 --timeout 600000 --parallel --jobs 20",
@@ -122,7 +123,7 @@
122
123
  "dependencies": {
123
124
  "@jsforce/jsforce-node": "^3.9.4",
124
125
  "@oclif/multi-stage-output": "^0.8.20",
125
- "@salesforce/core": "^8.19.1",
126
+ "@salesforce/core": "^8.21.2",
126
127
  "@salesforce/kit": "^3.2.2",
127
128
  "@salesforce/sf-plugins-core": "^12.2.4",
128
129
  "@salesforce/ts-types": "^2.0.11",
@@ -135,11 +136,11 @@
135
136
  },
136
137
  "devDependencies": {
137
138
  "@oclif/core": "^4.5.1",
138
- "@oclif/plugin-command-snapshot": "^5.3.4",
139
+ "@oclif/plugin-command-snapshot": "^5.3.5",
139
140
  "@oclif/test": "^4.1.13",
140
141
  "@salesforce/cli-plugins-testkit": "^5.3.39",
141
- "@salesforce/dev-scripts": "^11.0.2",
142
- "@salesforce/plugin-command-reference": "^3.1.63",
142
+ "@salesforce/dev-scripts": "^11.0.3",
143
+ "@salesforce/plugin-command-reference": "^3.1.65",
143
144
  "@salesforce/types": "^1.4.0",
144
145
  "eslint-plugin-sf-plugin": "^1.20.30",
145
146
  "oclif": "^4.22.9",
@@ -267,7 +268,7 @@
267
268
  "exports": "./lib/index.js",
268
269
  "type": "module",
269
270
  "sfdx": {
270
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.52.crt",
271
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.52.sig"
271
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.54.crt",
272
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.54.sig"
272
273
  }
273
274
  }