@salesforce/plugin-data 3.1.1 → 3.1.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 CHANGED
@@ -148,7 +148,7 @@ EXAMPLES
148
148
  TracedEntityId=01p17000000R6bLAAS"
149
149
  ```
150
150
 
151
- _See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.1/src/commands/data/create/record.ts)_
151
+ _See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.2/src/commands/data/create/record.ts)_
152
152
 
153
153
  ## `sf data delete bulk`
154
154
 
@@ -193,7 +193,7 @@ EXAMPLES
193
193
  $ sf data delete bulk --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
194
194
  ```
195
195
 
196
- _See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.1/src/commands/data/delete/bulk.ts)_
196
+ _See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.2/src/commands/data/delete/bulk.ts)_
197
197
 
198
198
  ## `sf data delete record`
199
199
 
@@ -252,7 +252,7 @@ EXAMPLES
252
252
  $ sf data delete record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
253
253
  ```
254
254
 
255
- _See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.1/src/commands/data/delete/record.ts)_
255
+ _See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.2/src/commands/data/delete/record.ts)_
256
256
 
257
257
  ## `sf data delete resume`
258
258
 
@@ -289,7 +289,7 @@ EXAMPLES
289
289
  $ sf data delete resume --use-most-recent --target-org my-scratch
290
290
  ```
291
291
 
292
- _See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.1/src/commands/data/delete/resume.ts)_
292
+ _See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.2/src/commands/data/delete/resume.ts)_
293
293
 
294
294
  ## `sf data export beta tree`
295
295
 
@@ -330,8 +330,8 @@ EXAMPLES
330
330
  Export records retrieved with the specified SOQL query into a single JSON file in the current directory; the command
331
331
  uses your default org:
332
332
 
333
- $ sf data export beta tree --query "SELECT Id, Name, (SELECT Name, Address\_\_c FROM Properties\_\_r) FROM \
334
- Broker\_\_c"
333
+ $ sf data export beta tree --query "SELECT Id, Name, (SELECT Name, Address__c FROM Properties__r) FROM \
334
+ Broker__c"
335
335
 
336
336
  Export data using a SOQL query in the "query.txt" file and generate JSON files for each object and a plan that
337
337
  aggregates them:
@@ -345,7 +345,7 @@ EXAMPLES
345
345
  my-scratch
346
346
  ```
347
347
 
348
- _See code: [src/commands/data/export/beta/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.1/src/commands/data/export/beta/tree.ts)_
348
+ _See code: [src/commands/data/export/beta/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.2/src/commands/data/export/beta/tree.ts)_
349
349
 
350
350
  ## `sf data export tree`
351
351
 
@@ -389,8 +389,7 @@ EXAMPLES
389
389
  Export records retrieved with the specified SOQL query into a single JSON file in the current directory; the command
390
390
  uses your default org:
391
391
 
392
- $ sf data export tree --query "SELECT Id, Name, (SELECT Name, Address\_\_c FROM Properties\_\_r) FROM \
393
- Broker\_\_c"
392
+ $ sf data export tree --query "SELECT Id, Name, (SELECT Name, Address__c FROM Properties__r) FROM Broker__c"
394
393
 
395
394
  Export data using a SOQL query in the "query.txt" file and generate JSON files for each object and a plan that
396
395
  aggregates them:
@@ -404,7 +403,7 @@ EXAMPLES
404
403
  my-scratch
405
404
  ```
406
405
 
407
- _See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.1/src/commands/data/export/tree.ts)_
406
+ _See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.2/src/commands/data/export/tree.ts)_
408
407
 
409
408
  ## `sf data get record`
410
409
 
@@ -466,7 +465,7 @@ EXAMPLES
466
465
  $ sf data get record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
467
466
  ```
468
467
 
469
- _See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.1/src/commands/data/get/record.ts)_
468
+ _See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.2/src/commands/data/get/record.ts)_
470
469
 
471
470
  ## `sf data import beta tree`
472
471
 
@@ -508,7 +507,7 @@ EXAMPLES
508
507
  $ sf data import beta tree --plan Account-Contact-plan.json
509
508
  ```
510
509
 
511
- _See code: [src/commands/data/import/beta/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.1/src/commands/data/import/beta/tree.ts)_
510
+ _See code: [src/commands/data/import/beta/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.2/src/commands/data/import/beta/tree.ts)_
512
511
 
513
512
  ## `sf data import tree`
514
513
 
@@ -557,7 +556,7 @@ EXAMPLES
557
556
  $ sf data import tree --plan Account-Contact-plan.json
558
557
  ```
559
558
 
560
- _See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.1/src/commands/data/import/tree.ts)_
559
+ _See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.2/src/commands/data/import/tree.ts)_
561
560
 
562
561
  ## `sf data query`
563
562
 
@@ -620,7 +619,7 @@ EXAMPLES
620
619
  $ sf data query --query "SELECT Id FROM Contact" --bulk --wait 0
621
620
  ```
622
621
 
623
- _See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.1/src/commands/data/query.ts)_
622
+ _See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.2/src/commands/data/query.ts)_
624
623
 
625
624
  ## `sf data query resume`
626
625
 
@@ -656,7 +655,7 @@ EXAMPLES
656
655
  $ sf data query resume --bulk-query-id 7500x000005BdFzXXX
657
656
  ```
658
657
 
659
- _See code: [src/commands/data/query/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.1/src/commands/data/query/resume.ts)_
658
+ _See code: [src/commands/data/query/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.2/src/commands/data/query/resume.ts)_
660
659
 
661
660
  ## `sf data resume`
662
661
 
@@ -692,7 +691,7 @@ EXAMPLES
692
691
  $ sf data resume --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA
693
692
  ```
694
693
 
695
- _See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.1/src/commands/data/resume.ts)_
694
+ _See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.2/src/commands/data/resume.ts)_
696
695
 
697
696
  ## `sf data update record`
698
697
 
@@ -753,7 +752,7 @@ EXAMPLES
753
752
  "ExpirationDate=2017-12-01T00:58:04.000+0000"
754
753
  ```
755
754
 
756
- _See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.1/src/commands/data/update/record.ts)_
755
+ _See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.2/src/commands/data/update/record.ts)_
757
756
 
758
757
  ## `sf data upsert bulk`
759
758
 
@@ -805,7 +804,7 @@ EXAMPLES
805
804
  my-scratch
806
805
  ```
807
806
 
808
- _See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.1/src/commands/data/upsert/bulk.ts)_
807
+ _See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.2/src/commands/data/upsert/bulk.ts)_
809
808
 
810
809
  ## `sf data upsert resume`
811
810
 
@@ -842,7 +841,7 @@ EXAMPLES
842
841
  $ sf data upsert resume --use-most-recent --target-org my-scratch
843
842
  ```
844
843
 
845
- _See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.1/src/commands/data/upsert/resume.ts)_
844
+ _See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.2/src/commands/data/upsert/resume.ts)_
846
845
 
847
846
  ## `sf force data bulk delete`
848
847
 
@@ -887,7 +886,7 @@ EXAMPLES
887
886
  $ sf force data bulk delete --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
888
887
  ```
889
888
 
890
- _See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.1/src/commands/force/data/bulk/delete.ts)_
889
+ _See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.2/src/commands/force/data/bulk/delete.ts)_
891
890
 
892
891
  ## `sf force data bulk status`
893
892
 
@@ -923,7 +922,7 @@ EXAMPLES
923
922
  $ sf force data bulk status --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA --target-org my-scratch
924
923
  ```
925
924
 
926
- _See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.1/src/commands/force/data/bulk/status.ts)_
925
+ _See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.2/src/commands/force/data/bulk/status.ts)_
927
926
 
928
927
  ## `sf force data bulk upsert`
929
928
 
@@ -980,6 +979,6 @@ EXAMPLES
980
979
  --target-org my-scratch
981
980
  ```
982
981
 
983
- _See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.1/src/commands/force/data/bulk/upsert.ts)_
982
+ _See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/3.1.2/src/commands/force/data/bulk/upsert.ts)_
984
983
 
985
984
  <!-- commandsstop -->
@@ -30,7 +30,7 @@ Directory in which to generate the JSON files; default is current directory.
30
30
 
31
31
  - Export records retrieved with the specified SOQL query into a single JSON file in the current directory; the command uses your default org:
32
32
 
33
- <%= config.bin %> <%= command.id %> --query "SELECT Id, Name, (SELECT Name, Address\_\_c FROM Properties\_\_r) FROM Broker\_\_c"
33
+ <%= config.bin %> <%= command.id %> --query "SELECT Id, Name, (SELECT Name, Address__c FROM Properties__r) FROM Broker__c"
34
34
 
35
35
  - Export data using a SOQL query in the "query.txt" file and generate JSON files for each object and a plan that aggregates them:
36
36
 
@@ -312,159 +312,6 @@
312
312
  "resume:data"
313
313
  ]
314
314
  },
315
- "data:create:record": {
316
- "aliases": [
317
- "force:data:record:create"
318
- ],
319
- "args": {},
320
- "deprecateAliases": true,
321
- "description": "You must specify a value for all required fields of the object.\n\nWhen specifying fields, use the format <fieldName>=<value>. Enclose all field-value pairs in one set of double quotation marks, delimited by spaces. Enclose values that contain spaces in single quotes.\n\nThis command inserts a record into Salesforce objects by default. Use the --use-tooling-api flag to insert into a Tooling API object.",
322
- "examples": [
323
- "Insert a record into the Account object of your default org; only the required Name field has a value:\n<%= config.bin %> <%= command.id %> --sobject Account --values \"Name=Acme\"",
324
- "Insert an Account record with values for two fields, one value contains a space; the command uses the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --sobject Account --values \"Name='Universal Containers' Website=www.example.com\" --target-org my-scratch",
325
- "Insert a record into the Tooling API object TraceFlag:\n<%= config.bin %> <%= command.id %> --use-tooling-api --sobject TraceFlag --values \"DebugLevelId=7dl170000008U36AAE StartDate=2022-12-15T00:26:04.000+0000 ExpirationDate=2022-12-15T00:56:04.000+0000 LogType=CLASS_TRACING TracedEntityId=01p17000000R6bLAAS\""
326
- ],
327
- "flags": {
328
- "json": {
329
- "description": "Format output as json.",
330
- "helpGroup": "GLOBAL",
331
- "name": "json",
332
- "allowNo": false,
333
- "type": "boolean"
334
- },
335
- "target-org": {
336
- "aliases": [
337
- "targetusername",
338
- "u"
339
- ],
340
- "char": "o",
341
- "deprecateAliases": true,
342
- "name": "target-org",
343
- "noCacheDefault": true,
344
- "required": true,
345
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
346
- "hasDynamicHelp": true,
347
- "multiple": false,
348
- "type": "option"
349
- },
350
- "api-version": {
351
- "aliases": [
352
- "apiversion"
353
- ],
354
- "deprecateAliases": true,
355
- "description": "Override the api version used for api requests made by this command",
356
- "name": "api-version",
357
- "hasDynamicHelp": false,
358
- "multiple": false,
359
- "type": "option"
360
- },
361
- "loglevel": {
362
- "deprecated": {
363
- "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
364
- },
365
- "hidden": true,
366
- "name": "loglevel",
367
- "hasDynamicHelp": false,
368
- "multiple": false,
369
- "type": "option"
370
- },
371
- "sobject": {
372
- "aliases": [
373
- "sobjecttype"
374
- ],
375
- "char": "s",
376
- "deprecateAliases": true,
377
- "name": "sobject",
378
- "required": true,
379
- "summary": "API name of the Salesforce or Tooling API object that you're inserting a record into.",
380
- "hasDynamicHelp": false,
381
- "multiple": false,
382
- "type": "option"
383
- },
384
- "values": {
385
- "char": "v",
386
- "name": "values",
387
- "required": true,
388
- "summary": "Values for the flags in the form <fieldName>=<value>, separate multiple pairs with spaces.",
389
- "hasDynamicHelp": false,
390
- "multiple": false,
391
- "type": "option"
392
- },
393
- "use-tooling-api": {
394
- "aliases": [
395
- "usetoolingapi"
396
- ],
397
- "char": "t",
398
- "deprecateAliases": true,
399
- "name": "use-tooling-api",
400
- "summary": "Use Tooling API so you can insert a record in a Tooling API object.",
401
- "allowNo": false,
402
- "type": "boolean"
403
- },
404
- "perflog": {
405
- "deprecated": {
406
- "version": "57"
407
- },
408
- "description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
409
- "hidden": true,
410
- "name": "perflog",
411
- "summary": "Get API performance data.",
412
- "allowNo": false,
413
- "type": "boolean"
414
- }
415
- },
416
- "hasDynamicHelp": true,
417
- "hiddenAliases": [],
418
- "id": "data:create:record",
419
- "pluginAlias": "@salesforce/plugin-data",
420
- "pluginName": "@salesforce/plugin-data",
421
- "pluginType": "core",
422
- "strict": true,
423
- "summary": "Create and insert a record into a Salesforce or Tooling API object.",
424
- "enableJsonFlag": true,
425
- "isESM": true,
426
- "relativePath": [
427
- "lib",
428
- "commands",
429
- "data",
430
- "create",
431
- "record.js"
432
- ],
433
- "aliasPermutations": [
434
- "force:data:record:create",
435
- "data:force:record:create",
436
- "data:record:force:create",
437
- "data:record:create:force",
438
- "force:record:data:create",
439
- "record:force:data:create",
440
- "record:data:force:create",
441
- "record:data:create:force",
442
- "force:record:create:data",
443
- "record:force:create:data",
444
- "record:create:force:data",
445
- "record:create:data:force",
446
- "force:data:create:record",
447
- "data:force:create:record",
448
- "data:create:force:record",
449
- "data:create:record:force",
450
- "force:create:data:record",
451
- "create:force:data:record",
452
- "create:data:force:record",
453
- "create:data:record:force",
454
- "force:create:record:data",
455
- "create:force:record:data",
456
- "create:record:force:data",
457
- "create:record:data:force"
458
- ],
459
- "permutations": [
460
- "data:create:record",
461
- "create:data:record",
462
- "create:record:data",
463
- "data:record:create",
464
- "record:data:create",
465
- "record:create:data"
466
- ]
467
- },
468
315
  "data:delete:bulk": {
469
316
  "aliases": [],
470
317
  "args": {},
@@ -875,6 +722,159 @@
875
722
  "resume:delete:data"
876
723
  ]
877
724
  },
725
+ "data:create:record": {
726
+ "aliases": [
727
+ "force:data:record:create"
728
+ ],
729
+ "args": {},
730
+ "deprecateAliases": true,
731
+ "description": "You must specify a value for all required fields of the object.\n\nWhen specifying fields, use the format <fieldName>=<value>. Enclose all field-value pairs in one set of double quotation marks, delimited by spaces. Enclose values that contain spaces in single quotes.\n\nThis command inserts a record into Salesforce objects by default. Use the --use-tooling-api flag to insert into a Tooling API object.",
732
+ "examples": [
733
+ "Insert a record into the Account object of your default org; only the required Name field has a value:\n<%= config.bin %> <%= command.id %> --sobject Account --values \"Name=Acme\"",
734
+ "Insert an Account record with values for two fields, one value contains a space; the command uses the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --sobject Account --values \"Name='Universal Containers' Website=www.example.com\" --target-org my-scratch",
735
+ "Insert a record into the Tooling API object TraceFlag:\n<%= config.bin %> <%= command.id %> --use-tooling-api --sobject TraceFlag --values \"DebugLevelId=7dl170000008U36AAE StartDate=2022-12-15T00:26:04.000+0000 ExpirationDate=2022-12-15T00:56:04.000+0000 LogType=CLASS_TRACING TracedEntityId=01p17000000R6bLAAS\""
736
+ ],
737
+ "flags": {
738
+ "json": {
739
+ "description": "Format output as json.",
740
+ "helpGroup": "GLOBAL",
741
+ "name": "json",
742
+ "allowNo": false,
743
+ "type": "boolean"
744
+ },
745
+ "target-org": {
746
+ "aliases": [
747
+ "targetusername",
748
+ "u"
749
+ ],
750
+ "char": "o",
751
+ "deprecateAliases": true,
752
+ "name": "target-org",
753
+ "noCacheDefault": true,
754
+ "required": true,
755
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
756
+ "hasDynamicHelp": true,
757
+ "multiple": false,
758
+ "type": "option"
759
+ },
760
+ "api-version": {
761
+ "aliases": [
762
+ "apiversion"
763
+ ],
764
+ "deprecateAliases": true,
765
+ "description": "Override the api version used for api requests made by this command",
766
+ "name": "api-version",
767
+ "hasDynamicHelp": false,
768
+ "multiple": false,
769
+ "type": "option"
770
+ },
771
+ "loglevel": {
772
+ "deprecated": {
773
+ "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
774
+ },
775
+ "hidden": true,
776
+ "name": "loglevel",
777
+ "hasDynamicHelp": false,
778
+ "multiple": false,
779
+ "type": "option"
780
+ },
781
+ "sobject": {
782
+ "aliases": [
783
+ "sobjecttype"
784
+ ],
785
+ "char": "s",
786
+ "deprecateAliases": true,
787
+ "name": "sobject",
788
+ "required": true,
789
+ "summary": "API name of the Salesforce or Tooling API object that you're inserting a record into.",
790
+ "hasDynamicHelp": false,
791
+ "multiple": false,
792
+ "type": "option"
793
+ },
794
+ "values": {
795
+ "char": "v",
796
+ "name": "values",
797
+ "required": true,
798
+ "summary": "Values for the flags in the form <fieldName>=<value>, separate multiple pairs with spaces.",
799
+ "hasDynamicHelp": false,
800
+ "multiple": false,
801
+ "type": "option"
802
+ },
803
+ "use-tooling-api": {
804
+ "aliases": [
805
+ "usetoolingapi"
806
+ ],
807
+ "char": "t",
808
+ "deprecateAliases": true,
809
+ "name": "use-tooling-api",
810
+ "summary": "Use Tooling API so you can insert a record in a Tooling API object.",
811
+ "allowNo": false,
812
+ "type": "boolean"
813
+ },
814
+ "perflog": {
815
+ "deprecated": {
816
+ "version": "57"
817
+ },
818
+ "description": "Gets data on API performance metrics from the server. The data is stored in $HOME/.sfdx/apiPerformanceLog.json.",
819
+ "hidden": true,
820
+ "name": "perflog",
821
+ "summary": "Get API performance data.",
822
+ "allowNo": false,
823
+ "type": "boolean"
824
+ }
825
+ },
826
+ "hasDynamicHelp": true,
827
+ "hiddenAliases": [],
828
+ "id": "data:create:record",
829
+ "pluginAlias": "@salesforce/plugin-data",
830
+ "pluginName": "@salesforce/plugin-data",
831
+ "pluginType": "core",
832
+ "strict": true,
833
+ "summary": "Create and insert a record into a Salesforce or Tooling API object.",
834
+ "enableJsonFlag": true,
835
+ "isESM": true,
836
+ "relativePath": [
837
+ "lib",
838
+ "commands",
839
+ "data",
840
+ "create",
841
+ "record.js"
842
+ ],
843
+ "aliasPermutations": [
844
+ "force:data:record:create",
845
+ "data:force:record:create",
846
+ "data:record:force:create",
847
+ "data:record:create:force",
848
+ "force:record:data:create",
849
+ "record:force:data:create",
850
+ "record:data:force:create",
851
+ "record:data:create:force",
852
+ "force:record:create:data",
853
+ "record:force:create:data",
854
+ "record:create:force:data",
855
+ "record:create:data:force",
856
+ "force:data:create:record",
857
+ "data:force:create:record",
858
+ "data:create:force:record",
859
+ "data:create:record:force",
860
+ "force:create:data:record",
861
+ "create:force:data:record",
862
+ "create:data:force:record",
863
+ "create:data:record:force",
864
+ "force:create:record:data",
865
+ "create:force:record:data",
866
+ "create:record:force:data",
867
+ "create:record:data:force"
868
+ ],
869
+ "permutations": [
870
+ "data:create:record",
871
+ "create:data:record",
872
+ "create:record:data",
873
+ "data:record:create",
874
+ "record:data:create",
875
+ "record:create:data"
876
+ ]
877
+ },
878
878
  "data:export:tree": {
879
879
  "aliases": [
880
880
  "force:data:tree:export"
@@ -883,7 +883,7 @@
883
883
  "deprecateAliases": true,
884
884
  "description": "Specify a SOQL query, either directly at the command line or read from a file, to retrieve the data you want to export. The exported data is written to JSON files in sObject tree format, which is a collection of nested, parent-child records with a single root record. Use these JSON files to import data into an org with the \"<%= config.bin %> data import tree\" command.\n\nIf your SOQL query references multiple objects, the command generates a single JSON file by default. You can specify the --plan flag to generate separate JSON files for each object and a plan definition file that aggregates them. You then specify just this plan definition file when you import the data into an org.\n\nThe SOQL query can return a maximum of 2,000 records. For more information, see the REST API Developer Guide. (https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobject_tree.htm).",
885
885
  "examples": [
886
- "Export records retrieved with the specified SOQL query into a single JSON file in the current directory; the command uses your default org:\n<%= config.bin %> <%= command.id %> --query \"SELECT Id, Name, (SELECT Name, Address\\_\\_c FROM Properties\\_\\_r) FROM Broker\\_\\_c\"",
886
+ "Export records retrieved with the specified SOQL query into a single JSON file in the current directory; the command uses your default org:\n<%= config.bin %> <%= command.id %> --query \"SELECT Id, Name, (SELECT Name, Address__c FROM Properties__r) FROM Broker__c\"",
887
887
  "Export data using a SOQL query in the \"query.txt\" file and generate JSON files for each object and a plan that aggregates them:\n<%= config.bin %> <%= command.id %> --query query.txt --plan",
888
888
  "Prepend \"export-demo\" before each generated file and generate the files in the \"export-out\" directory; run the command on the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --query query.txt --plan --prefix export-demo --output-dir export-out --target-org my-scratch"
889
889
  ],
@@ -2023,7 +2023,7 @@
2023
2023
  "args": {},
2024
2024
  "description": "Specify a SOQL query, either directly at the command line or read from a file, to retrieve the data you want to export. The exported data is written to JSON files in sObject tree format, which is a collection of nested, parent-child records with a single root record. Use these JSON files to import data into an org with the \"<%= config.bin %> data import tree\" command.\n\nIf your SOQL query references multiple objects, the command generates a single JSON file by default. You can specify the --plan flag to generate separate JSON files for each object and a plan definition file that aggregates them. You then specify just this plan definition file when you import the data into an org.\n\nThe SOQL query can return a maximum of 2,000 records. For more information, see the REST API Developer Guide. (https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobject_tree.htm).",
2025
2025
  "examples": [
2026
- "Export records retrieved with the specified SOQL query into a single JSON file in the current directory; the command uses your default org:\n<%= config.bin %> <%= command.id %> --query \"SELECT Id, Name, (SELECT Name, Address\\_\\_c FROM Properties\\_\\_r) FROM Broker\\_\\_c\"",
2026
+ "Export records retrieved with the specified SOQL query into a single JSON file in the current directory; the command uses your default org:\n<%= config.bin %> <%= command.id %> --query \"SELECT Id, Name, (SELECT Name, Address__c FROM Properties__r) FROM Broker__c\"",
2027
2027
  "Export data using a SOQL query in the \"query.txt\" file and generate JSON files for each object and a plan that aggregates them:\n<%= config.bin %> <%= command.id %> --query query.txt --plan",
2028
2028
  "Prepend \"export-demo\" before each generated file and generate the files in the \"export-out\" directory; run the command on the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --query query.txt --plan --prefix export-demo --output-dir export-out --target-org my-scratch"
2029
2029
  ],
@@ -2695,5 +2695,5 @@
2695
2695
  ]
2696
2696
  }
2697
2697
  },
2698
- "version": "3.1.1"
2698
+ "version": "3.1.2"
2699
2699
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-data",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "description": "Plugin for salesforce data commands",
5
5
  "author": "Salesforce",
6
6
  "homepage": "https://github.com/salesforcecli/plugin-data",
@@ -250,7 +250,7 @@
250
250
  "exports": "./lib/index.js",
251
251
  "type": "module",
252
252
  "sfdx": {
253
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.1.1.crt",
254
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.1.1.sig"
253
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.1.2.crt",
254
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.1.2.sig"
255
255
  }
256
256
  }