<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/temporal.collections.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>temporal.collections</api:function-name><api:suggest>temporal.collections</api:suggest><api:suggest>temporal</api:suggest><api:suggest>collections</api:suggest><api:function-link mode="xquery" fullname="temporal:collections">/apidoc/8.0/temporal:collections.xml</api:function-link><api:function mode="javascript" name="collections" lib="temporal" category="Temporal" hidden="false" bucket="MarkLogic Built-In Functions" prefix="temporal" namespace="http://marklogic.com/xdmp/temporal" fullname="temporal.collections"><api:summary>
	  This function returns all of the temporal collection names in 
	  the schema database.
  </api:summary><api:return>ValueIterator</api:return><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
var temporal = require("/MarkLogic/temporal.xqy");
 
temporal.collections()

// Returns the names of all of the temporal collections. 
</pre></api:example></api:function></api:function-page>