couchdb-erlfdb
couchdb-erlfdb copied to clipboard
How to store Types like Atom using couchdb-erlfdb.
Hi, I'm coming again.
The problem is that I would like to store tuples into FoundationDB.
But it seems it won't work fine if I want to store tuples with atom() in it to FoundaitonDB.
#{context => {invalid_tuple_term,message},exception => error,stacktrace => [{erlfdb_tuple,encode,2,[{file,"er│me has already been fetched lfdb_tuple.erl"},{line,258}]}
Furthermore, If I want to store types other than binary(), the only way seems to be call erlfdb_tuple:pack()
?
Any advice if I want store arbitrary type in foundationdb? That will help a lot.