find
function
find()
Option name | Type | Description |
---|---|---|
idOrObject | String, Object | Id of object or object with |
return | Promise |
finds existing object in local database
function find (objectsOrIds) {
return Array.isArray(objectsOrIds)
? findMany.call(this, objectsOrIds)
: findOne.call(this, objectsOrIds)
}