()
| 23 | } |
| 24 | |
| 25 | func (stmt *Stmt) Close() error { |
| 26 | <-stmt.prepared |
| 27 | |
| 28 | if stmt.Stmt != nil { |
| 29 | return stmt.Stmt.Close() |
| 30 | } |
| 31 | return nil |
| 32 | } |
| 33 | |
| 34 | // Store defines an interface for managing the caching operations of SQL statements (Stmt). |
| 35 | // This interface provides methods for creating new statements, retrieving all cache keys, |