Rebind a query within a Conn's bindvar type.
(query string)
| 274 | |
| 275 | // Rebind a query within a Conn's bindvar type. |
| 276 | func (c *Conn) Rebind(query string) string { |
| 277 | return Rebind(BindType(c.driverName), query) |
| 278 | } |
| 279 | |
| 280 | // StmtxContext returns a version of the prepared statement which runs within a |
| 281 | // transaction. Provided stmt can be either *sql.Stmt or *sqlx.Stmt. |