readUniquenessConstraint: readUniquenessConstraint = (label, property) ->
if _.isEmpty label then throw new Error 'Label cannot be empty'
else if !_.isString label then throw new Error 'Label must be string'
if property
if !_.isString property then throw new Error 'Property must be string'
url = "#{@url}/db/data/schema/constraint/#{label}/uniqueness/#{property}"
else
url = "#{@url}/db/data/schema/constraint/#{label}/uniqueness"
utils.get(url, (result) -> result.body)
rUniquenessConstraint: readUniquenessConstraint
Create uniqueness constraint
Details