@salesforce/plugin-data 3.1.0 → 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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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
 
package/oclif.lock CHANGED
@@ -5332,9 +5332,9 @@ interpret@^1.0.0:
5332
5332
  integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==
5333
5333
 
5334
5334
  ip@^2.0.0:
5335
- version "2.0.0"
5336
- resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.0.tgz#4cf4ab182fee2314c75ede1276f8c80b479936da"
5337
- integrity sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==
5335
+ version "2.0.1"
5336
+ resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.1.tgz#e8f3595d33a3ea66490204234b77636965307105"
5337
+ integrity sha512-lJUL9imLTNi1ZfXT+DU6rBBdbiKGBuay9B6xGSPVjUeQwaH1RIGqef8RZkUtHioLmSNpPR5M4HVKJGm1j8FWVQ==
5338
5338
 
5339
5339
  is-array-buffer@^3.0.1, is-array-buffer@^3.0.2:
5340
5340
  version "3.0.2"
@@ -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.0"
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.0",
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.0.crt",
254
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/3.1.0.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
  }