mbdavid / LiteDB.Studio

A GUI tool for viewing and editing documents for LiteDB v5
MIT License
750 stars 197 forks source link

"Import from JSON" example induce in error #40

Open RichardLazaro opened 3 years ago

RichardLazaro commented 3 years ago

Hi,

When using the feature "Import from JSON", it show an example as 'C:/temp/file.json' Except, on windows path are defined with backslash and not slash.

So if you copy from the windows explorer, you have this type of path 'C:\temp\file.json' In my opinion, the example should show something like :

SELECT $ INTO new_col FROM $file('C:\temp\file.json');

I'm new in NoSQL and LiteDB, so i think i will not be the first neither the last that will encounter an error when stupidly pasting a path from Windows :)

Best Regards, Richard LAZARO