aaronpowell / db.js

db.js is a wrapper for IndexedDB to make it easier to work against
http://aaronpowell.github.com/db.js/
MIT License
818 stars 142 forks source link

Shorthand for query().all().execute() #150

Closed brettz9 closed 8 years ago

brettz9 commented 8 years ago

Would you be open to allowing for

query().execute();

in place of:

query().all().execute();
brettz9 commented 8 years ago

And a executeQuery() would be great too... Too long of a chain to get the full jQuery-type succinctness and still both proposals are I think semantically clear...

aaronpowell commented 8 years ago

I dislike the ambiguity of query().execute(). The goal is to keep it clear and expressive.