gulf-backend-blob-store

5.0.1 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i gulf-backend-blob-store

Weekly Downloads

0

Version

5.0.1

License

LGPL-3.0

Last publish

Collaborators

  • marcelklehr