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

Query compilation error #32

Open
SkyQuant opened this issue Jun 25, 2014 · 2 comments
Open

Query compilation error #32

SkyQuant opened this issue Jun 25, 2014 · 2 comments

Comments

@SkyQuant
Copy link

In my Chrome I've got an error with this code var myQuery = $indexedDB.queryBuilder().$index('age_idx').$gt(40).$asc.compile();
but without .$asc snipped it works ok. Where I get to know more knowledge about correct query composing?

@webcss
Copy link
Owner

webcss commented Jun 25, 2014

You've probably missed the brackets with $asc(), which takes a single
boolean parameter indicating whether or not to include only unique values.
Am 25.06.2014 14:19 schrieb "SkyQuant" [email protected]:

In my Chrome I've got an error with this code var myQuery =
$indexedDB.queryBuilder().$index('age_idx').$gt(40).$asc.compile();
but without .$asc snipped it works ok. Where I get to know more knowledge
about correct query composing?


Reply to this email directly or view it on GitHub
#32.

@SkyQuant
Copy link
Author

Yes, it's true. Where I can read more about queries building?

schmod pushed a commit to schmod/angular-indexedDB that referenced this issue Sep 30, 2016
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