(args ...any)
| 32 | } |
| 33 | |
| 34 | func (s *Stmt) Execute(args ...any) (*Result, error) { |
| 35 | if err := s.write(args...); err != nil { |
| 36 | return nil, errors.Trace(err) |
| 37 | } |
| 38 | |
| 39 | return s.conn.readResult(true) |
| 40 | } |
| 41 | |
| 42 | func (s *Stmt) Close() error { |
| 43 | if err := s.conn.writeCommandUint32(COM_STMT_CLOSE, s.id); err != nil { |
nothing calls this directly
no test coverage detected