-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encoding #12
Comments
we'll need to rewrite quite several dependencies to get non-json data with multilevel. |
as of version 4.0.0 multilevel supports binary data! See https://github.com/juliangruber/multilevel/blob/master/test/binary.js for a passing test. Just set |
Is there a way to set LevelUp allows this with: |
@feross you should set the default encoding when you create the database on the server. |
@dominictarr d'oh! should have figured that out. thanks! |
For api consistency you should also be able to specify the client-specific global encoding in the multilevel client |
if someone wants this, please go for it :) |
Hey there again!
We should either adapt to LevelDOWN or add an abstraction layer allowing binary as well as non-binary data (f.i. JSON). So either the client specifies the encoding for the .put-process or the server specifies the encoding for all the keys (hammer variant, but makes sense somewhat).
The text was updated successfully, but these errors were encountered: