adamfowleruk / mljs

MarkLogic REST API JavaScript wrapper for NodeJS and Browser Apps
http://adamfowleruk.github.io/mljs/apidocs/core/tutorial-all.html
Other
33 stars 19 forks source link

Enterprise: Add Schema checking #28

Closed adamfowleruk closed 10 years ago

adamfowleruk commented 11 years ago

Sometimes a Schema is necessary. JavaScript is also loosely typed, so is in need of guaranteeing schema moreso than other language bindings.

Two potential Schema features:- JS Schema - enforce data type guarantees in MLDB - prevents database throwing errors on commit DB Schema - load-and-enforce pre-existing schema for pre-listed schema of interest (XML docs only)

Second option will require XML doc support, and Schema admin functions

adamfowleruk commented 11 years ago

Changing milestone as not convinced we need to support this other than error handling.

adamfowleruk commented 10 years ago

Removing this as handled by save() and error handling.