Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Builtin Environment Variables

isubiker edited this page Dec 26, 2011 · 3 revisions

Corona has a set of built-in environment variables that it supports. To configure these environment variables, see the Managing Environment Variables page.

  • fetchTransformer - Set the name of a transformer to be executed on every document fetch. This transformer is run before any developer specified transformer.
  • insertTransformer - Set the name of a transformer to be executed on every document insert. This transformer is run after any developer specified transformer.
  • deleteTransformer - Set the name of a transformer to be executed before a document is deleted. This transformer is allowed to modify the list of URI's that will be deleted. Only supports XQuery based transformers.
  • devFetchTransformsEnabled - Set to false to disable the use of developer specified transforms via the applyTransform parameter when fetching documents. Set to true to enable. Default is true.
  • devInsertTransformsEnabled - Set to false to disable the use of developer specified transforms via the applyTransform parameter when inserting documents. Set to true to enable. Default is true.
  • defaultOutputFormat - When an output format can't be determined via the request, set the format that it should default to. Valid values are json and xml, default is json.
  • DEBUG - To enable extra logging of requests, set DEBUG to true, default is false.

Clone this wiki locally