Skip to content
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

error putting a long value #6

Open
evaimitico opened this issue Jan 18, 2016 · 0 comments
Open

error putting a long value #6

evaimitico opened this issue Jan 18, 2016 · 0 comments

Comments

@evaimitico
Copy link

Is there any lenght limit for the value while doing a put on db?

i'm doing:

var flatfile = require('flat-file-db');
var db = flatfile.sync('mydb');
var key = 'key1'
var value = '';
db.put(key,value)

JsonObjectPassedAsParam is a parameter. the snippet of code is working, but when i try to write particularly json objects, it give me the following error:
Cannot read property 'length' of undefined

As attachment, one of large jsonObject impossibile to write.

Fabrizio
json_impossibile_to_write.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant