Class: Music

Mobizen.Apps.DB.Cache~Music

new Music(app, channel)

Name Type Description
app string

name of app

channel string

name of db channel

Author:

Extends

Members

inherited app string

inherited channel string

Type Definitions

inherited db loki

Methods

inherited add(doc){Promise}

Name Type Description
doc object
Returns:
Type Description
Promise

add_albums(group, doc){object}

Name Type Description
group object
doc object
Returns:
Type Description
object doc

add_artists(group, doc){object}

Name Type Description
group object
doc object
Returns:
Type Description
object doc

add_genres(group, doc){object}

Name Type Description
group object
doc object
Returns:
Type Description
object doc

inherited all(index){Promise}

Name Type Description
index number
Returns:
Type Description
Promise

inherited clear(){Promise}

Returns:
Type Description
Promise

inherited get(id, index){Promise}

Name Type Description
id string
index number
Returns:
Type Description
Promise
Returns:
Type Description
Promise

inherited remove(docs){Promise}

Name Type Description
docs array
Returns:
Type Description
Promise

remove_subindex(doc, hasAlbum){Promise}

Name Type Description
doc object
hasAlbum boolean
Returns:
Type Description
Promise

inherited set(docs){Promise}

Name Type Description
docs array
Returns:
Type Description
Promise
comments powered by Disqus