You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello Pedro, thanks again for building this. I was wondering if it's possible to use this as an actual database to persist data across sessions. I might be confused about the inner workings of this or I am mistaking it for something different entirely. Currently I'm using Memdown as the log storage and levelup to access the leveldown API like this:
constTevere=require('tevere');constMemdown=require('memdown');constlevelup=require('levelup');constdb=Tevere('coolpartition',{log: Memdown('coolpartition'),});consttevere=levelup(db);tevere.put('boo','foo',(err)=>{console.log(err);});// This is being done after a page reloadtevere.get('boo',(err,val)=>{console.log(err);console.log(val);});
but I'm getting a Not Found error when getting the key after a page refresh.
Is it possible to persist the data across sessions and browsers? How's the log db actually used?
Furthermore I'm getting this error when running the above script:
Uncaught Error: no protocol with name: p2p-webrtc-star
The text was updated successfully, but these errors were encountered:
Hello Pedro, thanks again for building this. I was wondering if it's possible to use this as an actual database to persist data across sessions. I might be confused about the inner workings of this or I am mistaking it for something different entirely. Currently I'm using
Memdown
as the log storage andlevelup
to access the leveldown API like this:but I'm getting a Not Found error when getting the key after a page refresh.
Is it possible to persist the data across sessions and browsers? How's the
log
db actually used?Furthermore I'm getting this error when running the above script:
The text was updated successfully, but these errors were encountered: