angular-indexedDB
angular-indexedDB copied to clipboard
Query compilation error
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?
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.
Yes, it's true. Where I can read more about queries building?