Skip to content

Instantly share code, notes, and snippets.

@ableasdale
Created July 15, 2016 15:45
Show Gist options
  • Save ableasdale/d9dbe106ec9975e6e9550bdea8019c59 to your computer and use it in GitHub Desktop.
Save ableasdale/d9dbe106ec9975e6e9550bdea8019c59 to your computer and use it in GitHub Desktop.
Basic Database Creation Template
xquery version "1.0-ml";
import module namespace info = "http://marklogic.com/appservices/infostudio" at "/MarkLogic/appservices/infostudio/info.xqy";
declare variable $DATABASE as xs:string := "DB-NAME-HERE";
info:database-create($DATABASE, 2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment