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: Invalid query operator" when I try: db.customers.find name like "John" #16

Closed
donners77 opened this issue Mar 27, 2015 · 5 comments

Comments

@donners77
Copy link

Hi. Thank you for making this amazing project available.

I also really like your Web Shell concept.

However, when I tried the LiteDB Web Shell and followed the suggested Try commands I got at error message (see image below). This happened in both IE and Chrome.

litedb web shell - google chrome_2015-03-27_11-05-58

Kind regards,
Craig.

@mbdavid
Copy link
Owner

mbdavid commented Mar 27, 2015

Hi donners77! Thansk for report this bug. Fixed update database version (web shell was in 0.8, current version is 0.9). Please, reload webshell and press F5 (html page stay in cache until F5).

In next week I will release the big new version: v1.0 :)

@donners77
Copy link
Author

Wow. That was quick.
Unfortunately I think you may have introduced a new bug...

litedb web shell - google chrome_2015-03-27_11-56-13

@mbdavid
Copy link
Owner

mbdavid commented Mar 27, 2015

Ops, I forget that v.9 was not compatible with v0.8. I update localStorage. Please, another F5.

@donners77
Copy link
Author

Great. Working now.

A question...

I have an existing console app and I'm interested in running the user interface in your web shell.

I'm not very experienced with web stuff (since to date I've just been working in C# code).

Besides the LiteDB-WebShell code repository, what other frameworks/environments would I need to install and learn? e.g. Nina? Nacy? IIS?

Is there a way to a way to run the web shell without IIS? e.g. using node or something like that?

Kind regards
Craig.

@mbdavid
Copy link
Owner

mbdavid commented Mar 28, 2015

Hi Craig. Web shell for LiteDB is a very simple solution to .NET. Basicly it's 2 files: one html to show console UI (and a minimal JS to ajax) and and .ASHX handler for .NET. Inside ASHX I run LiteDB command shell and return result as HTML.
There is not "execution command" on Javascript or ASHX. JS only send text command and receive html result.
As server, I run in a simple IIS (with no special configuration). But you can run in any platform you want.

If you want create a rich web console, with more javascript api, take a look on this project: http://webshell.io/

@mbdavid mbdavid closed this as completed Mar 28, 2015
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

2 participants