ArnaudBuchholz / gpf-js

A multi-purpose JavaScript library
http://gpf-js.blogspot.com/
MIT License
11 stars 2 forks source link

Records flat file storage #155

Open ArnaudBuchholz opened 7 years ago

ArnaudBuchholz commented 7 years ago

For future:

ArnaudBuchholz commented 7 years ago
gpf:createObjectStorage({
    id: "property" || [properties]
    output: IWritableStream
}) : IObjectStorage

IObjectStorage
    readAll(IReadableStream).then(records => undefined)

    add(object)
    update(object)
    remove(object)

    writeAll(IWritableStream).then(count => undefined)
ArnaudBuchholz commented 6 years ago

Interesting behavior to implement: