(query string, args ...any)
| 48 | } |
| 49 | |
| 50 | func (e *LocalExecutor) Query(query string, args ...any) (RowSet, error) { |
| 51 | rows, err := e.db.Query(query, args...) |
| 52 | if err != nil { |
| 53 | return nil, err |
| 54 | } |
| 55 | return &LocalRowSet{rows: rows}, nil |
| 56 | } |
| 57 | |
| 58 | func (e *LocalExecutor) Exec(query string, args ...any) (ExecResult, error) { |
| 59 | return e.db.Exec(query, args...) |