Skip to content

Commit cfb5d29

Browse files
committed
Updated README.md according to new changes
1 parent 005ae94 commit cfb5d29

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,32 @@ conditions = [
9494
}
9595
]
9696

97+
grouping = ['Timestamp']
98+
99+
having = [
100+
{
101+
'field': 'Timestamp',
102+
'type': 'INTEGER',
103+
'comparators': [
104+
{
105+
'condition': '==',
106+
'negate': False,
107+
'value': 1399478981
108+
}
109+
]
110+
}
111+
]
112+
113+
order_by ={'fields': ['Timestamp'], 'direction': 'desc'}
114+
97115
query = render_query(
98116
'dataset',
99117
['table'],
100118
select=selects,
101119
conditions=conditions,
102-
groupings=['Timestamp'],
103-
order_by={'field': 'Timestamp', 'direction': 'desc'}
120+
groupings=grouping,
121+
having=having,
122+
order_by=order_by
104123
)
105124

106125
job_id, _ = client.query(query)

0 commit comments

Comments
 (0)