Skip to content

Instantly share code, notes, and snippets.

@ableasdale
Last active December 15, 2015 06:09
Show Gist options
  • Save ableasdale/5214529 to your computer and use it in GitHub Desktop.
Save ableasdale/5214529 to your computer and use it in GitHub Desktop.
Create two test databases
(:::::::::::::: Step one - set up two test databases :::::::::::::::)
xquery version "1.0-ml";
import module namespace info = "http://marklogic.com/appservices/infostudio"
at "/MarkLogic/appservices/infostudio/info.xqy";
(: Setup test databases :)
(info:database-create("source-db", 1), info:database-create("rebalance-me", 8))
(: after completion - confirm that the source-db1 forest contains 200K docs :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment