Adapter implements scope to query