     @return [Object] The class to build the Id Value with
 
   ###
-  getDefaultIdType: () =>
+  getDefaultIdType: () ->
     return String
 
   ###

    @param [Object] data The model data
    @param [Function] callback Callback with (possible) error object or the updated object
  ###
  updateAttributes: (model, id, data, cb) =>
    debug 'updateAttributes', model, id, data if @debug

    collection = @getCollectionName(model)
    collVariable = collection.charAt 0

    bindVars = {
      collection: collection
      id: id
    }

    # for .. in ..
    aql = qb.for('updateDoc').in('@@collection').filter('updateDoc._key','@id').update('updateDoc').with(data).in('@@collection').returnNew('result')

    @query aql, bindVars, (err, result) ->
      callback err if err
      callback null, result

  ###
    Update all matching instances

    super 'arangodb', settings
    # debug
    @debug = dataSource.settings.debug or debug.enabled

    # link to datasource
    @dataSource = dataSource

    # Query builder
    @qb = require('aqb')

    @db = ajs @settings

    @api = @db.route '_api'


  # one file per functionality
  # @extend require('./CoreMixin')
