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

Method ExecuteNonQueryStatement

client/tablesession.go:136–138  ·  view source on GitHub ↗

ExecuteNonQueryStatement executes a non-query SQL statement, such as a DDL or DML command. Parameters: - sql: The SQL statement to be executed. Returns: - err: An error if the operation fails.

(sql string)

Source from the content-addressed store, hash-verified

134// Returns:
135// - err: An error if the operation fails.
136func (s *TableSession) ExecuteNonQueryStatement(sql string) error {
137 return s.session.ExecuteNonQueryStatement(sql)
138}
139
140// ExecuteQueryStatement executes a query SQL statement and retrieves the result set.
141//

Callers 2

mainFunction · 0.95

Calls 1

Tested by 1