New creates a new Stmt object and caches it. Parameters: ctx: The context for the request, which can carry deadlines, cancellation signals, etc. key: The key representing the SQL query, used for caching and preparing the statement. isTransaction: Indicates whether this operation is part of a transac
(ctx context.Context, key string, isTransaction bool, connPool ConnPool, locker sync.Locker)
| 46 | // *Stmt: A newly created statement object for executing SQL operations. |
| 47 | // error: An error if the statement preparation fails. |
| 48 | New(ctx context.Context, key string, isTransaction bool, connPool ConnPool, locker sync.Locker) (*Stmt, error) |
| 49 | |
| 50 | // Keys returns a slice of all cache keys in the store. |
| 51 | Keys() []string |
no outgoing calls