addQuery method
Add a query to the cache.
Shouldn't normally need to add a query manually. Queries are automatically added to the cache when they are constructed.
Implementation
void addQuery(QueryBase<dynamic, dynamic> query) {
for (final ob in observers) {
ob.onQueryCreation(query);
}
_queryCache[query.key] = query;
}