findOne()
MyModel.findOne(
/* {object}. -- Key/Value pairs to look for */
<propsValues>,
/* {Array} -- optional. ex: ['ParentEntity', 1234 ] */
<ancestors>,
/* {string} -- optional. A specific namespace */
<namespace>,
/* {object}. -- optional. Options for the query */
<options>
)options
Last updated
Was this helpful?