Class: Models

Mobizen.Apps.DB.Models

new Mobizen.Apps.DB.Models(db, app)

A Base Class of Models

Name Type Description
db Mobizen.Apps.DB.<adapterName>
app string

name of app

Author:

Requires

Classes

CallLog
Music
Photo
Video

Members

channel string

dbType string

name string

Type Definitions

db Mobizen.Apps.DB.<adapterName>

view Mobizen.Apps.DB.Cache.<dbName>

Methods

add(doc){Promise}

Name Type Description
doc object
Returns:
Type Description
Promise

clear(){Promise}

Returns:
Type Description
Promise

ids(){Promise}

Returns:
Type Description
Promise

indexing(group){Promise}

Name Type Description
group object
Returns:
Type Description
Promise

info(){Promise}

Returns:
Type Description
Promise

remove(ids){Promise}

Name Type Description
ids array
Returns:
Type Description
Promise

setImage(item){Promise}

Name Type Description
item object
Returns:
Type Description
Promise
comments powered by Disqus