Laravel_pc_perso/scripts/create-mongo.sh
2024-06-12 13:02:54 +02:00

4 lines
81 B
Bash

#!/usr/bin/env bash
mongosh $1 --eval "db.test.insertOne({name:'db creation'})"