angular-indexedDB icon indicating copy to clipboard operation
angular-indexedDB copied to clipboard

Query compilation error

Open SkyQuant opened this issue 10 years ago • 2 comments

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?

SkyQuant avatar Jun 25 '14 12:06 SkyQuant

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 https://github.com/webcss/angular-indexedDB/issues/32.

webcss avatar Jun 25 '14 14:06 webcss

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

SkyQuant avatar Jun 25 '14 17:06 SkyQuant