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)
| 134 | // Returns: |
| 135 | // - err: An error if the operation fails. |
| 136 | func (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 | // |