lib/nano_store/store_extension.rb
# Saves the uncommitted changes to the document store.
Saves the uncommitted changes to the document store.
Saves the uncommitted changes to the document store .
def save
    error_ptr = Pointer.new(:id)
    result = saveStoreAndReturnError(error_ptr)
    raise NanoStore::NanoStoreError, error_ptr[0].description if error_ptr[0]
    result
  end
def save error_ptr = Pointer . new ( :id ) result = saveStoreAndReturnError ( error_ptr ) raise NanoStore :: NanoStoreError , error_ptr [ 0 ] . description if error_ptr [ 0 ] result end
Saves the uncommitted changes to the document store.
Saves the uncommitted changes to the document store .