You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-05-06 21:04:14 +02:00
7 lines
4.4 KiB
Plaintext
Vendored
7 lines
4.4 KiB
Plaintext
Vendored
# JSON data can also be passed as a path to a .json file
|
|
|
|
oint mongodb InsertDocuments \
|
|
--dbc "mongodb://bayselonarrend:12we3456!2154@127.0.0.1:27017/?authSource=admin" \
|
|
--coll "new_collection" \
|
|
--docs "[{'productName':'Product 1','category':'electronics','price':'80','quantity':'6','rating':'1','inStock':true,'tags':['new'],'createdDate':'01/05/2026 09:34:32','details':{'supplier':'Supplier A','weightKg':'0.3','dimensions':{'length':'8','width':'4','height':'2'}}},{'productName':'Product 2','category':'clothing','price':'110','quantity':'7','rating':'2','inStock':true,'tags':['new','sale'],'createdDate':'01/04/2026 09:34:32','details':{'supplier':'Supplier B','weightKg':'0.6','dimensions':{'length':'16','width':'8','height':'4'}}},{'productName':'Product 3','category':'books','price':'140','quantity':'8','rating':'3','inStock':false,'tags':['new','popular'],'createdDate':'01/03/2026 09:34:32','details':{'supplier':null,'weightKg':'0.9','dimensions':{'length':'24','width':'12','height':'6'}}},{'productName':'Product 4','category':null,'price':'170','quantity':'9','rating':'4','inStock':true,'tags':['sale'],'createdDate':'01/02/2026 09:34:32','details':{'supplier':'Supplier A','weightKg':'1.2','dimensions':{'length':'32','width':'16','height':'8'}}},{'productName':'Product 5','category':'electronics','price':'200','quantity':'10','rating':'5','inStock':true,'tags':[],'createdDate':'01/01/2026 09:34:32','details':{'supplier':'Supplier B','weightKg':'1.5','dimensions':{'length':'40','width':'20','height':'10'}}},{'productName':'Product 6','category':'clothing','price':'230','quantity':'11','rating':'1','inStock':false,'tags':['sale','popular'],'createdDate':'12/31/2025 09:34:32','details':{'supplier':null,'weightKg':'1.8','dimensions':{'length':'48','width':'24','height':'12'}}},{'productName':'Product 7','category':'books','price':'260','quantity':'12','rating':'1','inStock':true,'tags':[],'createdDate':'12/30/2025 09:34:32','details':{'supplier':'Supplier A','weightKg':'2.1','dimensions':{'length':'56','width':'28','height':'14'}}},{'productName':'Product 8','category':null,'price':'290','quantity':'13','rating':'2','inStock':true,'tags':['sale'],'createdDate':'12/29/2025 09:34:32','details':{'supplier':'Supplier B','weightKg':'2.4','dimensions':{'length':'64','width':'32','height':'16'}}},{'productName':'Product 9','category':'electronics','price':'320','quantity':'14','rating':'3','inStock':false,'tags':['popular'],'createdDate':'12/28/2025 09:34:32','details':{'supplier':null,'weightKg':'2.7','dimensions':{'length':'72','width':'36','height':'18'}}},{'productName':'Product 10','category':'clothing','price':'350','quantity':'5','rating':'4','inStock':true,'tags':['sale'],'createdDate':'12/27/2025 09:34:32','details':{'supplier':'Supplier A','weightKg':'3','dimensions':{'length':'80','width':'40','height':'20'}}},{'productName':'Product 11','category':'books','price':'380','quantity':'6','rating':'5','inStock':true,'tags':[],'createdDate':'12/26/2025 09:34:32','details':{'supplier':'Supplier B','weightKg':'3.3','dimensions':{'length':'88','width':'44','height':'22'}}},{'productName':'Product 12','category':null,'price':'410','quantity':'7','rating':'1','inStock':false,'tags':['sale','popular','hit'],'createdDate':'12/25/2025 09:34:32','details':{'supplier':null,'weightKg':'3.6','dimensions':{'length':'96','width':'48','height':'24'}}},{'productName':'Product 13','category':'electronics','price':'440','quantity':'8','rating':'1','inStock':true,'tags':['hit'],'createdDate':'12/24/2025 09:34:32','details':{'supplier':'Supplier A','weightKg':'3.9','dimensions':{'length':'104','width':'52','height':'26'}}},{'productName':'Product 14','category':'clothing','price':'470','quantity':'9','rating':'2','inStock':true,'tags':['sale','hit'],'createdDate':'12/23/2025 09:34:32','details':{'supplier':'Supplier B','weightKg':'4.2','dimensions':{'length':'112','width':'56','height':'28'}}},{'productName':'Product 15','category':'books','price':'500','quantity':'10','rating':'3','inStock':false,'tags':['popular','hit'],'createdDate':'12/22/2025 09:34:32','details':{'supplier':null,'weightKg':'4.5','dimensions':{'length':'120','width':'60','height':'30'}}},{'productName':'Item with zero price','category':'books','price':'0','quantity':'1','rating':'4','inStock':true,'tags':[]},{'productName':'Item without category','price':'250','quantity':'3','rating':'3','inStock':false}]" \
|
|
--db "main" |