Rebind a query within a transaction's bindvar type.
(query string)
| 402 | |
| 403 | // Rebind a query within a transaction's bindvar type. |
| 404 | func (tx *Tx) Rebind(query string) string { |
| 405 | return Rebind(BindType(tx.driverName), query) |
| 406 | } |
| 407 | |
| 408 | // Unsafe returns a version of Tx which will silently succeed to scan when |
| 409 | // columns in the SQL result have no fields in the destination struct. |