The Mongrel eXist-db extension provides xquery extension functions to access MongoDB database functions.
In addition to "regular" MongoDB operations the extension also provides GridFS functions to manage arbitrary sized documents that are stored in MongoDB.
Extensive documentation can be found on the Wiki.
Downloads and release notes are on the GitHub Releases page.
Due to changes in the eXist-db core (restructoring and xquery3.1 support) two versions of the extension are developed:
- For eXist-2.2 : Master branch
- For eXist-2.3+ : Develop branch
- eXist-db 2.2 / Java7
- eXist-db 2.3+ / Java8
The current released code serializes JSON (output) into a JSON xs:string
. For XQuery 3.1 (supported by eXist-db 2.3) JSON is part of the XQuery specification, using Maps and Arrays. Migration to the new output will certainly break the API in the future.
The work is released AS-IS under the LGPL license.
Support on this extension is provided by eXist Solutions GmbH