loopback upsertwithwhere example
Example 1: loopback upsert with where
PersistedModel.upsertWithWhere([where], data, callback)
Example 2: loopback upsert
PersistedModel.upsert(data, callback)
PersistedModel.upsertWithWhere([where], data, callback)
PersistedModel.upsert(data, callback)