You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.
Hi, I have such a code snippets:
$result = $db->getQueryBuilder()
->select('*')
->from('some')
...
->getResultSet()
->getPoints();
QueryBuilder works perfectly for me, except that I need the integer type of timestamp in result set instead of the string. Without QueryBuilder, I could just pass in "['epoch'=>'s']" as params to query() method. Is that possible to add a "$params=[]" in getResultSet() so that I can use it like this:
$result = $db->getQueryBuilder()
->select('*')
->from('some')
...
->getResultSet(['epoch'=>'s'])
->getPoints();
Thanks!
The text was updated successfully, but these errors were encountered:
nalsas
pushed a commit
to nalsas/influxdb-php
that referenced
this issue
Feb 19, 2019
Hi, I have such a code snippets:
$result = $db->getQueryBuilder()
->select('*')
->from('some')
...
->getResultSet()
->getPoints();
QueryBuilder works perfectly for me, except that I need the integer type of timestamp in result set instead of the string. Without QueryBuilder, I could just pass in "['epoch'=>'s']" as params to query() method. Is that possible to add a "$params=[]" in getResultSet() so that I can use it like this:
$result = $db->getQueryBuilder()
->select('*')
->from('some')
...
->getResultSet(['epoch'=>'s'])
->getPoints();
Thanks!
The text was updated successfully, but these errors were encountered: