LiteDB.Studio
LiteDB.Studio copied to clipboard
Column data not displayed
I have an array of 512 elements, each element looks like so:
public class Spectra { public double Wavelength { get; set; } public double Wavenumber { get; set; } public double Value { get; set; } public double? Processed { get; set; } }
I've discovered that this data IS stored in the database but DbStudio shows an empty cell.
If I reduce the number of items to 450 then I can see the JSON in the cell.
What @mjfreelancing means
Is: For nested collection, the cell in the column will not show any text after Max
string length
reproduce the issue
var db = new LiteDatabase(@"Test.db");
var users = db.GetCollection<User>();
var osama = new User
{
Username = "Osama Al Banna"
};
for (int i = 0; i < 633; i++) // 634 will stop showing
{
osama.Spectras.Add(new Spectra
{
Value = 232,
Processed = 23,
Wavelength = 43,
Wavenumber = 56
});
}
users.Insert(osama);
If you open The LiteDB Studio
you will find Spectras
Column Specific Cell
Empty