Skip to content

Commit 2a21ef2

Browse files
committed
add a sample for putting row with TIMESTAMP value and Null
1 parent 32fb4ab commit 2a21ef2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sample/sample2.py

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
griddb.ContainerType.TIME_SERIES, True)
2020
ts = gridstore.put_container(conInfo)
2121

22+
#Put row to timeseries with TIMESTAMP value and None. None means NULL value
23+
ts.put(['2020-10-01T15:00:00.000Z', True, None])
24+
2225
#Put row to timeseries with current timestamp
2326
now = datetime.datetime.utcnow()
2427
ts.put([now, False, 100])

0 commit comments

Comments
 (0)