Skip to content
#

views

Here are 184 public repositories matching this topic...

mreis92
mreis92 commented Dec 4, 2016

Hello! I have noticed in your documentation that we can perform an upsert using a StorageAdapter. My question here is: How to obtain the storage adapter in order to perform this upsert operation?

Thank you!

What you are doing?

Trying to completely replace an existing document.

let storageAdapter = Model.getStorageAdapter();
storageAdapter.upsert(key, value).then((result) => {

Improve this page

Add a description, image, and links to the views topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the views topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.