NamedStmt is a prepared statement that executes named queries. Prepare it how you would execute a NamedQuery, but pass in a struct or map when executing.
| 27 | // NamedStmt is a prepared statement that executes named queries. Prepare it |
| 28 | // how you would execute a NamedQuery, but pass in a struct or map when executing. |
| 29 | type NamedStmt struct { |
| 30 | Params []string |
| 31 | QueryString string |
| 32 | Stmt *Stmt |
| 33 | } |
| 34 | |
| 35 | // Close closes the named statement. |
| 36 | func (n *NamedStmt) Close() error { |
nothing calls this directly
no outgoing calls
no test coverage detected