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.
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