cloneDefaults(data)mixed
Parameters:
  • data
    • Type: mixed
Returns: mixed
ErrorList
Type:
Object
Properties:
  • StorageAdapter.CouchbaseError
    • Type: CouchbaseError
    • native couchbase sdk error object

HookType
Type:
Object
Properties:
  • beforeValidate
  • afterValidate
  • beforeCreate
  • afterCreate
  • beforeDestroy
  • afterDestroy
  • beforeRollback
  • afterRollback
  • afterFailedRollback
  • afterFailedIndexRemoval
  • beforeUpdate
  • afterUpdate
  • beforeGet
  • afterGet
KeyOptionsObject
Type:
Object
Properties:
  • id
    • Type: mixed
    • dynamic part of a key

  • prefix
    • Type: string
    • static string value preceding id value

  • postfix
    • Type: string
    • static string value which comes after id value

  • delimiter
    • Type: string
    • the key string User_username_happiecat - has the _ character as delimiter value

  • caseSensitive
    • Type: boolean
    • determines whether id value is case sensitive or not

Operation
Type:
Object
Properties:
  • INSERT
    • Type: string
  • REPLACE
    • Type: string
  • REMOVE
    • Type: string
  • GET
    • Type: string
RefDocKeyOptionsObject
Type:
Object
Properties:
  • id
    • Type: mixed
    • dynamic part of a key

  • prefix
    • Type: string
    • static string value preceding id value

  • postfix
    • Type: string
    • static string value which comes after id value

  • delimiter
    • Type: string
    • the key string User_username_happiecat - has the _ character as delimiter value

  • caseSensitive
    • Type: boolean
    • determines whether id value is case sensitive or not

  • ref
    • Type: Array
    • array of document's properties from refDoc definition object

StorageAdapterErrorList
Type:
Object
Properties:
  • StorageAdapter.CouchbaseError
    • Type: CouchbaseError
    • native couchbase sdk error object

comments powered by Disqus