load data mongo shell code example Example: mongo shell load load("scripts/myjstest.js") load("/data/db/scripts/myjstest.js")