5.0.1 • Published 8 years ago

gulf-backend-blob-store v5.0.1

Weekly downloads
1
License
-
Repository
github
Last release
8 years ago

Gulf backend: Blob store

This is a storage backend for gulf that stores data in a Blob store.

Compatible with gulf v5, only.

Usage

const BlobstoreAdapter = require('gulf-backend-blob-store')

new gulf.Document({
  ottype: yourOtType
, storageAdapter: new BlobstoreAdapter(YourBlobStoreHere)
})

API

class: BlobstoreAdapter(store:BlobStore, docId:Number = 0)

Pass the blob store instance and optionally the id of the document, if you'd like to store multiple documents in the same store.

Legal

(c) 2016 by Marcel Klehr

License: LGPL 3.0