# Ignition 7.9 to 8.0 : queryHistory?

**URL:** <https://forum.inductiveautomation.com/t/ignition-7-9-to-8-0-queryhistory/24903>\
**Category:** Module Development\
**Tags:** ignition80\
**Created:** [May 10, 2019, 8:18pm UTC](https://forum.inductiveautomation.com/t/ignition-7-9-to-8-0-queryhistory/24903 "2019-05-10T20:18:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [May 10, 2019, 8:18pm UTC](https://forum.inductiveautomation.com/t/ignition-7-9-to-8-0-queryhistory/24903/1 "2019-05-10T20:18:14Z")

</div>

@paul-griffith,  
For the conversion from Ignition 7.9.10 of :

```auto
gatewayContext.getTagManager().queryHistory

```

with BasicTagHistoryQueryParams and BasicStreamingDataset

could you please provide an example for :

```auto
context.getTagHistoryManager().getTagHistoryProvider(<name>).createQuery(paths, controller)

```

**I don’t understand how to achieve an historical query from gateway scope in Ignition 8** 🆘

HistoryQueryExecutor javadoc indicate that the result rows are writed to the streaming dataset, if possible but where can we provide a streaming dataset to the createQuery function or params ???

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [May 13, 2019, 6:45am UTC](https://forum.inductiveautomation.com/t/ignition-7-9-to-8-0-queryhistory/24903/2 "2019-05-13T06:45:15Z")

</div>

Ignition 7.9

```auto
gatewayContext.getTagManager().queryHistory()

```

is replaced in Ignition 8.0 by :

```auto
gatewayContext.getTagHistoryManager().queryHistory

```
