transfert vers nosql-document
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,8 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
for file in /initdb.d/commandes/*.json; do
|
||||
collection=$(basename "$file" .json)
|
||||
echo "Importing $collection..."
|
||||
mongoimport --db mydb --collection "$collection" --file "$file" --jsonArray
|
||||
done
|
||||
Reference in New Issue
Block a user