interface DesignDocument (View source)

Abstract Design Document.

Methods

getData()

Get design doc code.

Details

getData()

Get design doc code.

Return the view (or general design doc) code, which should be committed to the database, which should be structured like:

array( "views" => array( "name" => array( "map" => "code", ["reduce" => "code"], ), ... ) )