(_ storepb.Engine, v []byte)
| 134 | } |
| 135 | |
| 136 | func escapeSQLBytes(_ storepb.Engine, v []byte) []byte { |
| 137 | // Use hex encoding for all engines (SQL standard) |
| 138 | result := make([]byte, 2+hex.EncodedLen(len(v))) |
| 139 | copy(result, "0x") |
| 140 | hex.Encode(result[2:], v) |
| 141 | return result |
| 142 | } |
no outgoing calls
no test coverage detected