MCPcopy Create free account
hub / github.com/apache/iotdb-client-go / insertStringRecord

Function insertStringRecord

example/session_pool/session_pool_example.go:231–244  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

229}
230
231func insertStringRecord() {
232 var (
233 deviceId = "root.ln.wf02.wt02"
234 measurements = []string{"hardware"}
235 values = []string{"123"}
236 timestamp int64 = 12
237 )
238 session, err := sessionPool.GetSession()
239 defer sessionPool.PutBack(session)
240 if err == nil {
241 checkError(session.InsertStringRecord(deviceId, measurements, values, timestamp))
242 }
243
244}
245
246func insertRecord() {
247 var (

Callers 1

mainFunction · 0.70

Calls 4

PutBackMethod · 0.80
checkErrorFunction · 0.70
InsertStringRecordMethod · 0.65
GetSessionMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…