all new IQuery.State
Merge pull request #7 from tauli/master

all new IQuery.State