Laravel_pc_lycee/scripts/create-mongo.sh

4 lines
81 B
Bash

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