Function
getTextValueFromDataSet
(dataSet *client.SessionDataSet, columnName string)
Source from the content-addressed store, hash-verified
| 53 | } |
| 54 | |
| 55 | func getTextValueFromDataSet(dataSet *client.SessionDataSet, columnName string) string { |
| 56 | if isNull, err := dataSet.IsNull(columnName); err != nil { |
| 57 | log.Fatal(err) |
| 58 | } else if isNull { |
| 59 | return "null" |
| 60 | } |
| 61 | v, err := dataSet.GetString(columnName) |
| 62 | if err != nil { |
| 63 | log.Fatal(err) |
| 64 | } |
| 65 | return v |
| 66 | } |
| 67 | |
| 68 | func insertRelationalTablet(session client.ITableSession) { |
| 69 | tablet, err := client.NewRelationalTablet("t1", []*client.MeasurementSchema{ |
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…