zink: pass batch instead of context for queries