1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-04-30 20:49:04 +02:00
Files
OpenIntegrations/docs/en/cli/mongodb/CreateCollection/bash.txt
T
Vitaly the Alpaca (bot) 346f9bfbef Test data update (Jenkins)
2025-12-08 14:46:17 +03:00

7 lines
312 B
Plaintext
Vendored

# JSON data can also be passed as a path to a .json file
oint mongodb CreateCollection \
--dbc "mongodb://bayselonarrend:12we3456!2154@127.0.0.1:27017/?authSource=admin" \
--name "test_collection" \
--db "test_database" \
--params "{'validator':{'$expr':[{'$gte':['$total','0']},{'$lte':['$status','3']}]}}"